meson: replace join_paths(a, b) with a / b

More readable and from the meson reference manual:
(since 0.49.0) Using the/ operator on strings is equivalent to calling join_paths.
This commit is contained in:
Peter Hutterer 2021-04-15 14:41:04 +10:00 committed by Wim Taymans
parent 2f78829fda
commit 223f20709d
34 changed files with 98 additions and 98 deletions

View file

@ -20,7 +20,7 @@ foreach a : test_apps
if installed_tests_enabled
test_conf = configuration_data()
test_conf.set('exec', join_paths(installed_tests_execdir, 'spa-' + a))
test_conf.set('exec', installed_tests_execdir / 'spa-' + a)
configure_file(
input: installed_tests_template,
output: 'spa-' + a + '.test',
@ -39,7 +39,7 @@ test_cpp = executable('spa-test-cpp', 'test-cpp.cpp',
test('spa-test-cpp', test_cpp)
if installed_tests_enabled
test_conf = configuration_data()
test_conf.set('exec', join_paths(installed_tests_execdir, 'spa-test-cpp'))
test_conf.set('exec', installed_tests_execdir / 'spa-test-cpp')
configure_file(
input: installed_tests_template,
output: 'spa-test-cpp.test',
@ -69,7 +69,7 @@ foreach a : benchmark_apps
if installed_tests_enabled
test_conf = configuration_data()
test_conf.set('exec', join_paths(installed_tests_execdir, 'spa-' + a))
test_conf.set('exec', installed_tests_execdir / 'spa-' + a)
configure_file(
input: installed_tests_template,
output: 'spa-' + a + '.test',