diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-06-07 12:08:43 -0400 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-06-07 12:26:46 -0400 |
commit | 6b03e61bf3c778b1bb41cd42850876f1bb00986b (patch) | |
tree | cae6272851597fe17c241365bad1777fc9f78c29 /tests | |
parent | 42f8e22f173250c2ebe336ef019e01abcdc06915 (diff) |
meson: Do not use path separator in test names
Avoiding warnings like:
WARNING: Target "elements/audioamplify" has a path separator in its name.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build index 8019af38..a385d682 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -31,7 +31,8 @@ libm = cc.find_library('m', required : false) # FIXME: valgrind_args: add suppressions $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-ugly.supp foreach t : ugly_tests - test_name = t.get(0) + fname = '@0@.c'.format(t.get(0)) + test_name = t.get(0).underscorify() extra_deps = [ ] if t.length() == 3 extra_deps = t.get(2) @@ -42,7 +43,7 @@ foreach t : ugly_tests skip_test = false endif if not skip_test - exe = executable(test_name, '@0@.c'.format(test_name), + exe = executable(test_name, fname, include_directories : [configinc], c_args : ['-DHAVE_CONFIG_H=1' ] + test_defines, dependencies : [libm] + test_deps + extra_deps, |