blob: 3596b642c99c4065dcfe9f08485852539bb51dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
test_unit = 'test-ifcfg-rh'
test_ifcfg_dir = meson.current_source_dir()
cflags = [
'-DTEST_IFCFG_DIR="@0@"'.format(test_ifcfg_dir),
'-DTEST_SCRATCH_DIR="@0@"'.format(test_ifcfg_dir)
]
exe = executable(
test_unit,
test_unit + '.c',
dependencies: test_nm_dep,
c_args: cflags,
link_with: libnms_ifcfg_rh_core
)
test(
'ifcfg-rh/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)
|