mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 10:20:08 +01:00
There are multiple tests with the same in different directories; add a unique prefix to test names so that it is clear from the output which one is running.
23 lines
351 B
Meson
23 lines
351 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(
|
|
'clients/' + test_unit,
|
|
test_script,
|
|
args: test_args + [exe.full_path()]
|
|
)
|