From fb53316fde746f0c4bb4313a34f7cfb4e82e87cb Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Tue, 22 Feb 2022 17:47:48 +0000 Subject: [PATCH] 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. --- test/fuzz/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index ccd66c0ccf9..80362d41543 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -7,10 +7,11 @@ sanitize_address_undefined = custom_target( project_source_root, '@OUTPUT@', 'fuzzers', - '-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@ @1@ -Dc_args=@2@ -Dcpp_args=@2@'.format( + '-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@ @1@ -Dc_args=@2@ -Dcpp_args=@2@ -Dskip-deps=@3@'.format( get_option('optimization'), get_option('werror') ? '--werror' : '', - '-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION' + '-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION', + get_option('skip-deps') ), ' '.join(cc.cmd_array()), cxx_cmd]) -- 2.47.3