Skip to content

Commit fb53316

Browse files
committed
meson: pass skip-deps on to the fuzzers as well
they should be tested without optional dependecines as well. CIFuzz kind of covers that but let's just make sure local builds are fine as well.
1 parent ca57d11 commit fb53316

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/fuzz/meson.build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ sanitize_address_undefined = custom_target(
77
project_source_root,
88
'@OUTPUT@',
99
'fuzzers',
10-
'-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@ @1@ -Dc_args=@2@ -Dcpp_args=@2@'.format(
10+
'-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@ @1@ -Dc_args=@2@ -Dcpp_args=@2@ -Dskip-deps=@3@'.format(
1111
get_option('optimization'),
1212
get_option('werror') ? '--werror' : '',
13-
'-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION'
13+
'-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION',
14+
get_option('skip-deps')
1415
),
1516
' '.join(cc.cmd_array()),
1617
cxx_cmd])

0 commit comments

Comments
 (0)