Merge branch 'dab_disable_fuzzing_tests' into 'main'

fuzzing: do not build tests if build_tests is false

See merge request GNOME/glib!3319
This commit is contained in:
Philip Withnall 2023-03-10 15:32:45 +00:00
commit 66492ec02e

View File

@ -67,7 +67,7 @@ foreach target_name : fuzz_targets
# If the FuzzingEngine isnt available, build some unit tests to check that
# the fuzzing files do basically work. This doesnt do any actual fuzzing though.
# Pass in the README as an arbitrary fuzzing input, just so we have something.
if not have_fuzzing_engine
if build_tests and not have_fuzzing_engine
test(target_name, exe,
args : files('README.md'),
suite : 'fuzzing',