Files
NetworkManager/clients/common/tests/meson.build
Beniamino Galvani a2479b95c0 build: meson: use run-nm-test.sh to run tests
Like autotools, use the wrapper script 'run-nm-test.sh' that starts a
separate D-Bus session when needed.
2018-04-12 09:21:10 +02:00

24 lines
338 B
Meson

test_unit = 'test-general'
deps = [
libnm_dep,
libnmc_dep,
libnmc_base_dep,
nm_core_dep
]
exe = executable(
'clients-' + test_unit,
test_unit + '.c',
dependencies: deps,
c_args: clients_cflags + [
'-DNETWORKMANAGER_COMPILATION_TEST',
],
)
test(
test_unit,
test_script,
args: test_args + [exe.full_path()]
)