mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +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
6772fa7d27
commit
58cbc9fbfb
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,8 @@ if not meson.is_subproject()
|
|||
endif
|
||||
|
||||
foreach t : validate_tests
|
||||
test_name = t.get(0)
|
||||
fname = '@0@.c'.format(t.get(0))
|
||||
test_name = t.get(0).underscorify()
|
||||
if t.length() == 2
|
||||
skip_test = t.get(1)
|
||||
else
|
||||
|
@ -32,7 +33,7 @@ foreach t : validate_tests
|
|||
endif
|
||||
|
||||
if not skip_test
|
||||
exe = executable(test_name, '@0@.c'.format(test_name),
|
||||
exe = executable(test_name, fname,
|
||||
'validate/test-utils.c',
|
||||
c_args : gst_c_args + test_defines,
|
||||
include_directories : [inc_dirs],
|
||||
|
|
Loading…
Reference in a new issue