mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
tests: fix indentation issues in meson.build
This commit is contained in:
parent
731888fcdd
commit
0f5e462909
1 changed files with 30 additions and 30 deletions
|
|
@ -1,23 +1,23 @@
|
|||
test_apps = [
|
||||
'test-client',
|
||||
'test-endpoint',
|
||||
'test-interfaces',
|
||||
# 'test-remote',
|
||||
'test-stream',
|
||||
'test-utils'
|
||||
'test-client',
|
||||
'test-endpoint',
|
||||
'test-interfaces',
|
||||
# 'test-remote',
|
||||
'test-stream',
|
||||
'test-utils'
|
||||
]
|
||||
|
||||
foreach a : test_apps
|
||||
test('pw-' + a,
|
||||
executable('pw-' + a, a + '.c',
|
||||
dependencies : [pipewire_dep],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
|
||||
'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.build_root()),
|
||||
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())
|
||||
])
|
||||
executable('pw-' + a, a + '.c',
|
||||
dependencies : [pipewire_dep],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
|
||||
'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.build_root()),
|
||||
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())
|
||||
])
|
||||
|
||||
if installed_tests_enabled
|
||||
test_conf = configuration_data()
|
||||
|
|
@ -33,20 +33,20 @@ endforeach
|
|||
|
||||
|
||||
if have_cpp
|
||||
test_cpp = executable('pw-test-cpp', 'test-cpp.cpp',
|
||||
dependencies : [pipewire_dep],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir)
|
||||
test('pw-test-cpp', test_cpp)
|
||||
test_cpp = executable('pw-test-cpp', 'test-cpp.cpp',
|
||||
dependencies : [pipewire_dep],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir)
|
||||
test('pw-test-cpp', test_cpp)
|
||||
|
||||
if installed_tests_enabled
|
||||
test_conf = configuration_data()
|
||||
test_conf.set('exec', installed_tests_execdir / 'pw-test-cpp')
|
||||
configure_file(
|
||||
input: installed_tests_template,
|
||||
output: 'pw-test-cpp.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
configuration: test_conf
|
||||
)
|
||||
endif
|
||||
if installed_tests_enabled
|
||||
test_conf = configuration_data()
|
||||
test_conf.set('exec', installed_tests_execdir / 'pw-test-cpp')
|
||||
configure_file(
|
||||
input: installed_tests_template,
|
||||
output: 'pw-test-cpp.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
configuration: test_conf
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue