summaryrefslogtreecommitdiffstats
path: root/test/TEST-85-NETWORK/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-85-NETWORK/meson.build')
-rw-r--r--test/TEST-85-NETWORK/meson.build29
1 files changed, 8 insertions, 21 deletions
diff --git a/test/TEST-85-NETWORK/meson.build b/test/TEST-85-NETWORK/meson.build
index 44f75ca208..629275883c 100644
--- a/test/TEST-85-NETWORK/meson.build
+++ b/test/TEST-85-NETWORK/meson.build
@@ -9,27 +9,14 @@ unit = configure_file(
},
)
-foreach testcase : [
- 'NetworkctlTests',
- 'NetworkdMatchTests',
- 'WaitOnlineTests',
- 'NetworkdNetDevTests',
- 'NetworkdL2TPTests',
- 'NetworkdNetworkTests',
- 'NetworkdTCTests',
- 'NetworkdStateFileTests',
- 'NetworkdBondTests',
- 'NetworkdBridgeTests',
- 'NetworkdSRIOVTests',
- 'NetworkdLLDPTests',
- 'NetworkdRATests',
- 'NetworkdDHCPServerTests',
- 'NetworkdDHCPServerRelayAgentTests',
- 'NetworkdDHCPClientTests',
- 'NetworkdDHCPPDTests',
- 'NetworkdIPv6PrefixTests',
- 'NetworkdMTUTests',
-]
+systemd_networkd_tests_py = files('../test-network/systemd-networkd-tests.py')
+network_testcases = run_command('sed',
+ '-ne',
+ '/^class .*Tests/ { s/^class *//; s/(.*$//; p}',
+ systemd_networkd_tests_py,
+ check : true).stdout().split()
+
+foreach testcase : network_testcases
integration_tests += [
integration_test_template + {
'name' : '@0@-@1@'.format(name, testcase),