diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-07 15:08:12 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-14 09:50:56 +0200 |
commit | 537b7248991b85d1fb92cce78ecf1056f40bb750 (patch) | |
tree | 5150221f003068767cdba93c03c553631178c7f1 /tests | |
parent | 65ce87d47669168593398a4a3a0c0b0494858c0d (diff) | |
download | qemu-537b7248991b85d1fb92cce78ecf1056f40bb750.zip qemu-537b7248991b85d1fb92cce78ecf1056f40bb750.tar.gz qemu-537b7248991b85d1fb92cce78ecf1056f40bb750.tar.bz2 |
configure, meson: move fuzzing configuration to Meson
Cc: Alexander Oleinik <alxndr@bu.edu>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20211007130829.632254-2-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtest/fuzz/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/qtest/fuzz/meson.build b/tests/qtest/fuzz/meson.build index 8af6848..189901d 100644 --- a/tests/qtest/fuzz/meson.build +++ b/tests/qtest/fuzz/meson.build @@ -1,3 +1,7 @@ +if not get_option('fuzzing') + subdir_done() +endif + specific_fuzz_ss.add(files('fuzz.c', 'fork_fuzz.c', 'qos_fuzz.c', 'qtest_wrappers.c'), qos) @@ -9,7 +13,7 @@ specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio_blk_fuzz. specific_fuzz_ss.add(files('generic_fuzz.c')) fork_fuzz = declare_dependency( - link_args: config_host['FUZZ_EXE_LDFLAGS'].split() + + link_args: fuzz_exe_ldflags + ['-Wl,-wrap,qtest_inb', '-Wl,-wrap,qtest_inw', '-Wl,-wrap,qtest_inl', |