mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
meson: Do not use path separator in test names
Avoiding warnings like: WARNING: Target "elements/audioamplify" has a path separator in its name.
This commit is contained in:
parent
42f8e22f17
commit
6b03e61bf3
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue