
Otherwise we can get a build failiure: ../libnm/NetworkManager.h:61:27: fatal error: nm-enum-types.h: No such file or directory
28 lines
520 B
Meson
28 lines
520 B
Meson
test_unit = 'test-dispatcher-envp'
|
|
|
|
incs = [
|
|
dispatcher_inc,
|
|
libnm_inc,
|
|
]
|
|
|
|
exe = executable(
|
|
test_unit,
|
|
[ test_unit + '.c' ] + [ nmdbus_dispatcher_sources ],
|
|
include_directories: incs,
|
|
dependencies: [
|
|
libnm_core_dep,
|
|
libnm_dep,
|
|
],
|
|
c_args: [
|
|
'-DNETWORKMANAGER_COMPILATION_TEST',
|
|
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
|
],
|
|
link_with: libnm_dispatcher_core,
|
|
)
|
|
|
|
test(
|
|
'dispatcher/' + test_unit,
|
|
test_script,
|
|
args: test_args + [exe.full_path()],
|
|
)
|