mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
fuzzing: do not build tests if build_tests is false
This commit is contained in:
parent
d9a01931c3
commit
52b9af5fd9
@ -67,7 +67,7 @@ foreach target_name : fuzz_targets
|
||||
# If the FuzzingEngine isn’t available, build some unit tests to check that
|
||||
# the fuzzing files do basically work. This doesn’t 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',
|
||||
|
Loading…
Reference in New Issue
Block a user