mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-26 03:40:06 +01:00
40 lines
1,017 B
Meson
40 lines
1,017 B
Meson
common_deps = [wplua_dep, pipewire_dep, wp_dep]
|
|
common_env = common_test_env
|
|
common_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
|
common_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
|
common_args = [
|
|
'-D_GNU_SOURCE',
|
|
]
|
|
|
|
script_tester = executable('script-tester',
|
|
'..'/'script-tester.c',
|
|
dependencies: common_deps, c_args: common_args
|
|
)
|
|
|
|
test(
|
|
'test-linking-non-default-device-node',
|
|
script_tester,
|
|
args: ['script-tests', '00-test-linking-non-default-device-node.lua'],
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-linking-non-default-device-node-capture',
|
|
script_tester,
|
|
args: ['script-tests', '01-test-linking-non-default-device-node-capture.lua'],
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-linking-default-device-node',
|
|
script_tester,
|
|
args: ['script-tests', '02-test-linking-default-device-node.lua'],
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-linking-default-device-node-capture',
|
|
script_tester,
|
|
args: ['script-tests', '03-test-linking-default-device-node-capture.lua'],
|
|
env: common_env,
|
|
)
|