diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-26 18:07:25 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-03 13:37:16 +0200 |
commit | cbc55c4cce7e8a076dbeb5bc7a9660e20338b7e6 (patch) | |
tree | afa00146b30f58bddcb17193bec1ba27c3985424 /src/libsystemd-network/meson.build | |
parent | meson: merge declarations of normal and test executables (diff) | |
download | systemd-cbc55c4cce7e8a076dbeb5bc7a9660e20338b7e6.tar.xz systemd-cbc55c4cce7e8a076dbeb5bc7a9660e20338b7e6.zip |
meson: also merge declarations of fuzzers with other executables
Diffstat (limited to 'src/libsystemd-network/meson.build')
-rw-r--r-- | src/libsystemd-network/meson.build | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/src/libsystemd-network/meson.build b/src/libsystemd-network/meson.build index 74041f6abd..043d3bc254 100644 --- a/src/libsystemd-network/meson.build +++ b/src/libsystemd-network/meson.build @@ -47,6 +47,13 @@ network_test_template = test_template + { 'suite' : 'network', } +network_fuzz_template = fuzz_template + { + 'link_with' : [ + libshared, + libsystemd_network, + ], +} + executables += [ network_test_template + { 'sources' : files('test-acd.c'), @@ -83,35 +90,22 @@ executables += [ network_test_template + { 'sources' : files('test-sd-dhcp-lease.c'), }, -] - -fuzzer_network_base = { - 'link_with' : [libshared, libsystemd_network], -} - -fuzzers += [ - { + network_fuzz_template + { 'sources' : files('fuzz-dhcp-client.c'), - 'base' : fuzzer_network_base, }, - { + network_fuzz_template + { 'sources' : files('fuzz-dhcp6-client.c'), - 'base' : fuzzer_network_base, }, - { + network_fuzz_template + { 'sources' : files('fuzz-dhcp-server.c'), - 'base' : fuzzer_network_base, }, - { + network_fuzz_template + { 'sources' : files('fuzz-dhcp-server-relay.c'), - 'base' : fuzzer_network_base, }, - { + network_fuzz_template + { 'sources' : files('fuzz-lldp-rx.c'), - 'base' : fuzzer_network_base, }, - { + network_fuzz_template + { 'sources' : files('fuzz-ndisc-rs.c'), - 'base' : fuzzer_network_base, }, ] |