diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-31 22:29:03 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-18 23:04:19 +0100 |
commit | 5acb3cabd10bf0f635d8ca3a131df641e908d681 (patch) | |
tree | 80fc947b5b48b40e8857271de7d06939cb044c3c /src/network/meson.build | |
parent | test: move test-umount.c to src/shutdown (diff) | |
download | systemd-5acb3cabd10bf0f635d8ca3a131df641e908d681.tar.xz systemd-5acb3cabd10bf0f635d8ca3a131df641e908d681.zip |
meson: make the second and third elements of tests or fuzzers optional
Then, we can shorten many test definitions.
Diffstat (limited to 'src/network/meson.build')
-rw-r--r-- | src/network/meson.build | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/network/meson.build b/src/network/meson.build index 801fcb81e1..063ed0d901 100644 --- a/src/network/meson.build +++ b/src/network/meson.build @@ -246,7 +246,6 @@ if conf.get('ENABLE_NETWORKD') == 1 libsystemd_network, networkd_link_with], [threads], - [], network_include_dir], [['src/network/fuzz-network-parser.c', @@ -255,7 +254,6 @@ if conf.get('ENABLE_NETWORKD') == 1 libsystemd_network, networkd_link_with], [threads], - [], network_include_dir], ] @@ -263,14 +261,15 @@ if conf.get('ENABLE_NETWORKD') == 1 [['src/network/test-networkd-conf.c'], [libnetworkd_core, libsystemd_network], - [], '', '', [], network_include_dir], + [], + network_include_dir], [['src/network/test-network.c'], [libnetworkd_core, libsystemd_network, networkd_link_with], [threads], - '', '', [], network_include_dir], + network_include_dir], [['src/network/test-network-tables.c', test_tables_h], @@ -278,13 +277,10 @@ if conf.get('ENABLE_NETWORKD') == 1 libsystemd_network, networkd_link_with], [threads], - '', '', [], - [network_include_dir]], + network_include_dir], [['src/network/generator/test-network-generator.c', 'src/network/generator/network-generator.c', - 'src/network/generator/network-generator.h'], - [networkd_link_with], - [], '', '', [], network_include_dir], + 'src/network/generator/network-generator.h']], ] endif |