blob: 1d0908b9bc7dfbe88249fb44a128cabea58173dd (
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
|
# SPDX-License-Identifier: LGPL-2.1+
c_flags = test_c_flags + ['-DTEST_INITRD_DIR="@0@"'.format(meson.current_source_dir())]
test_units = [
'test-dt-reader',
'test-ibft-reader',
'test-cmdline-reader',
]
foreach test_unit : test_units
exe = executable(
test_unit,
test_unit + '.c',
dependencies: libnetwork_manager_test_dep,
c_args: c_flags,
link_with: libnmi_core,
)
test(
'initrd/' + test_unit,
test_script,
timeout: default_test_timeout,
args: test_args + [exe.full_path()],
)
endforeach
|