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
43
|
common_c_flags = clients_c_flags + ['-DNETWORKMANAGER_COMPILATION_TEST']
test_name = 'test-clients-common'
deps = [
libnmc_base_dep,
libnmc_dep,
]
exe = executable(
test_name,
test_name + '.c',
dependencies: deps,
c_args: common_c_flags,
)
test(
'clients/common/tests/' + test_name,
test_script,
args: test_args + [exe.full_path()],
)
test_name = 'test-libnm-core-aux'
deps = [
libnm_dep,
libnm_libnm_core_aux_dep,
libnm_nm_default_dep,
]
exe = executable(
test_name,
test_name + '.c',
dependencies: deps,
c_args: common_c_flags,
link_with: libnm_systemd_logging_stub,
)
test(
'clients/common/tests/' + test_name,
test_script,
args: test_args + [exe.full_path()]
)
|