From c9e13468429c52c627c685bf75bf4a5eb4e436da Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 7 Jun 2017 12:55:41 -0400 Subject: [PATCH] meson: Do not use path separator in test names Avoiding warnings like: WARNING: Target "elements/audioamplify" has a path separator in its name. --- tests/check/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/check/meson.build b/tests/check/meson.build index f93bf631b1..64c4c4572b 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -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]