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:
Thibault Saunier 2017-06-07 12:55:41 -04:00
parent 0ce18a878d
commit c9e1346842

View file

@ -62,7 +62,9 @@ endforeach
message('test env:' + all_env)
foreach test_name : rtsp_server_tests
exe = executable(test_name, '@0@.c'.format(test_name),
fname = '@0@.c'.format(test_name)
test_name = test_name.underscorify()
exe = executable(test_name, fname,
include_directories : rtspserver_incs,
c_args : rtspserver_args + test_c_args,
dependencies : [gstcheck_dep, gstrtsp_dep, gstrtp_dep, gst_rtsp_server_dep]