NetworkManager/clients/common/tests/meson.build
Iñigo Martínez d849366230 build: rename unit tests with the test- pattern
There are some tests located in different directories which are
using the same name. To avoid any confussion a prefix was used to
name the test and the target.

This patch uses the prefix just for the target, to avoid any
collision that may happen, and uses the `test-` pattern as the
name.

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00051.html
2017-12-14 20:07:38 +01:00

16 lines
229 B
Meson

test_unit = 'test-general'
deps += [
libnmc_dep,
libnmc_base_dep
]
exe = executable(
'clients-' + test_unit,
test_unit + '.c',
include_directories: incs,
dependencies: deps,
c_args: cflags
)
test(test_unit, exe)