2022-11-28 05:23:57 +05:30
|
|
|
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(
|
2023-01-05 16:36:11 +05:30
|
|
|
'test-linking-non-default-device-node',
|
2022-11-28 05:23:57 +05:30
|
|
|
script_tester,
|
2023-01-05 16:36:11 +05:30
|
|
|
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'],
|
2022-11-28 05:23:57 +05:30
|
|
|
env: common_env,
|
|
|
|
|
)
|
2023-01-05 17:07:37 +05:30
|
|
|
|
|
|
|
|
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,
|
|
|
|
|
)
|