]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Build fuzz executables by default if fuzz-tests option is enabled
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 15 May 2025 12:52:48 +0000 (14:52 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 20 May 2025 08:29:59 +0000 (10:29 +0200)
fuzz-tests is enabled by default now but we still don't build the fuzz
executables by default. Let's change that so that we always make sure these
still compile when we make changes.

meson.build

index 83442da079a9ca7fb1d773ac12e5144e1526e7ca..aeff1b3629c2665c8fbcfbb681030f9e33cf1a47 100644 (file)
@@ -2196,7 +2196,7 @@ test_additional_kwargs = {
 }
 
 fuzz_template = executable_template + {
-        'build_by_default' : fuzzer_build,
+        'build_by_default' : want_fuzz_tests,
         'install' : false,
 }