Commit 797ee730 authored by Thibault Saunier's avatar Thibault Saunier
Browse files

meson: Do not use path separator in test names

Avoiding warnings like:

    WARNING: Target "elements/audioamplify" has a path separator in its name.
parent b6746dfd
......@@ -45,7 +45,8 @@ if gst_dep.type_name() == 'pkgconfig'
endif
foreach t : ges_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
......@@ -60,7 +61,7 @@ foreach t : ges_tests
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
exe = executable(test_name, '@0@.c'.format(test_name),
exe = executable(test_name, fname,
'ges/test-utils.c', 'nle/common.c',
c_args : ges_c_args + test_defines,
include_directories : [configinc],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment