mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
2f78829fda
commit
223f20709d
34 changed files with 98 additions and 98 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue