mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-22 07:30:04 +01:00
63 lines
1.5 KiB
Meson
63 lines
1.5 KiB
Meson
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_dep]
|
|
common_env = [
|
|
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
|
|
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
|
|
'WIREPLUMBER_MODULE_DIR=@0@'.format(meson.current_build_dir() / '..' / '..' / 'modules'),
|
|
'WIREPLUMBER_DEBUG=7',
|
|
]
|
|
common_args = [
|
|
'-DG_LOG_USE_STRUCTURED',
|
|
]
|
|
|
|
test(
|
|
'test-audio-utils',
|
|
executable('test-audio-utils',
|
|
[
|
|
'audio-utils.c',
|
|
'../../modules/module-si-audio-adapter/audio-utils.c'
|
|
],
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-reserve-device',
|
|
executable('test-reserve-device', 'reserve-device.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-si-node',
|
|
executable('test-si-node', 'si-node.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-si-audio-adapter',
|
|
executable('test-si-audio-adapter', 'si-audio-adapter.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-si-audio-convert',
|
|
executable('test-si-audio-convert', 'si-audio-convert.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-si-audio-endpoint',
|
|
executable('test-si-audio-endpoint', 'si-audio-endpoint.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|
|
|
|
test(
|
|
'test-si-standard-link',
|
|
executable('test-si-standard-link', 'si-standard-link.c',
|
|
dependencies: common_deps, c_args: common_args),
|
|
env: common_env,
|
|
)
|