diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2019-02-08 14:07:19 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2019-02-13 11:22:45 +0100 |
commit | 71eb538fbaeaccdbc0f33316cec716216abe5c2c (patch) | |
tree | acf4c9cb082ef0b231da026cb22eac5df7876b96 /src/tests | |
parent | 99e1bb1068fea0fd197aa83a769a3ea575afda3b (diff) |
meson: prefix the names of the tests so that they are unique in the tree
meson < 0.46 does not allow two targets to share the same name;
meson >= 0.46 relaxes that requirement, but I see no reason to require
a new version of meson just for this
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/meson.build b/src/tests/meson.build index 71a1135a..70ae19ad 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -10,8 +10,8 @@ test_apps = [ ] foreach a : test_apps - test(a, - executable(a, a + '.c', + test('pw-' + a, + executable('pw-' + a, a + '.c', dependencies : [pipewire_dep], c_args : [ '-D_GNU_SOURCE' ], install : false), @@ -23,8 +23,8 @@ endforeach if have_cpp -test_cpp = executable('test-cpp', 'test-cpp.cpp', +test_cpp = executable('pw-test-cpp', 'test-cpp.cpp', dependencies : [pipewire_dep], install : false) -test('test-cpp', test_cpp) +test('pw-test-cpp', test_cpp) endif |