summaryrefslogtreecommitdiffstats
path: root/test/TEST-85-NETWORK/meson.build
blob: 95b91f77dfce3a35df60bcf458de96c2b4c8cbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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)
                        ],
                },
        ]
endforeach