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
|
test_unit = 'test-dispatcher-envp'
incs = [
top_inc,
shared_inc,
libnm_core_inc,
libnm_inc,
dispatcher_inc
]
cflags = [
'-DNETWORKMANAGER_COMPILATION_TEST',
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
'-DSRCDIR="@0@"'.format(meson.current_source_dir()),
]
exe = executable(
test_unit,
[test_unit + '.c', libnm_core_enum[1]],
include_directories: incs,
dependencies: glib_dep,
c_args: cflags,
link_with: libnm_dispatcher_core
)
test(test_unit, exe)
|