mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +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
|
endif
|
||||||
|
|
||||||
foreach t : validate_tests
|
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
|
if t.length() == 2
|
||||||
skip_test = t.get(1)
|
skip_test = t.get(1)
|
||||||
else
|
else
|
||||||
|
@ -32,7 +33,7 @@ foreach t : validate_tests
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not skip_test
|
if not skip_test
|
||||||
exe = executable(test_name, '@0@.c'.format(test_name),
|
exe = executable(test_name, fname,
|
||||||
'validate/test-utils.c',
|
'validate/test-utils.c',
|
||||||
c_args : gst_c_args + test_defines,
|
c_args : gst_c_args + test_defines,
|
||||||
include_directories : [inc_dirs],
|
include_directories : [inc_dirs],
|
||||||
|
|
Loading…
Reference in a new issue