]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: pass skip-deps on to the fuzzers as well 22591/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 22 Feb 2022 17:47:48 +0000 (17:47 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 22 Feb 2022 17:50:14 +0000 (17:50 +0000)
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

index ccd66c0ccf9210d994bbd01cf7d0ffa7012da249..80362d41543ad26f615899f4d34182536c0c187c 100644 (file)
@@ -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])