Files
systemd/test/TEST-85-NETWORK/meson.build
Daan De Meyer 4197900135 TEST-85-NETWORK: Give higher priority
Some of the networkd tests can take quite a while, so let's make sure
they start early enough.
2024-05-15 08:27:20 +02:00

44 lines
1.4 KiB
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
name = fs.name(meson.current_source_dir())
unit = configure_file(
input : files('../test.service.in'),
output : '@0@.service'.format(name),
configuration : integration_test_template['configuration'] + {
'command' : '@0@ --no-journal'.format(testdata_dir / 'test-network/systemd-networkd-tests.py')
},
)
foreach testcase : [
'NetworkctlTests',
'NetworkdMatchTests',
'WaitOnlineTests',
'NetworkdNetDevTests',
'NetworkdL2TPTests',
'NetworkdNetworkTests',
'NetworkdTCTests',
'NetworkdStateFileTests',
'NetworkdBondTests',
'NetworkdBridgeTests',
'NetworkdSRIOVTests',
'NetworkdLLDPTests',
'NetworkdRATests',
'NetworkdDHCPServerTests',
'NetworkdDHCPServerRelayAgentTests',
'NetworkdDHCPClientTests',
'NetworkdDHCPPDTests',
'NetworkdIPv6PrefixTests',
'NetworkdMTUTests',
]
integration_tests += [
integration_test_template + {
'name' : '@0@-@1@'.format(name, testcase),
'unit' : unit,
'cmdline' : integration_test_template['cmdline'] + [
'systemd.setenv=TEST_MATCH_TESTCASE=@0@'.format(testcase)
],
'priority' : 10,
},
]
endforeach