diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-12-14 17:03:34 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-14 20:07:38 +0100 |
commit | e72e43d821640828d753a7392171ccb3b2d36abc (patch) | |
tree | cd020e096e957b44d6903ed0b6de9717c3492061 /libnm-glib | |
parent | 7b0024bde2215417542165d442cc7cc7db07ce38 (diff) |
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
Diffstat (limited to 'libnm-glib')
-rw-r--r-- | libnm-glib/tests/meson.build | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libnm-glib/tests/meson.build b/libnm-glib/tests/meson.build index 8e0fc7bb1..525c3b321 100644 --- a/libnm-glib/tests/meson.build +++ b/libnm-glib/tests/meson.build @@ -22,15 +22,13 @@ test_units = [ ] foreach test_unit: test_units - name = 'libnm-glib-' + test_unit - exe = executable( - name, + test_unit, [test_unit + '.c', libnm_utils_enums_h] + shared_test_utils, include_directories: incs, dependencies: deps, c_args: cflags ) - test(name, exe) + test(test_unit, exe) endforeach |