mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 04:10:03 +01:00
Now that we have proper module load order, we can have this shared dbus connection in a module instead of the library. The module has to be loaded before any other modules that need it, obviously.
59 lines
1.4 KiB
Meson
59 lines
1.4 KiB
Meson
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_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',
|
|
'-DG_LOG_USE_STRUCTURED',
|
|
]
|
|
|
|
if get_option('dbus-tests')
|
|
test(
|
|
'test-dbus-connection',
|
|
executable('test-dbus-connection', 'dbus-connection.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,
|
|
)
|
|
endif
|
|
|
|
test(
|
|
'test-file-monitor',
|
|
executable('test-file-monitor', 'file-monitor.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-virtual',
|
|
executable('test-si-audio-virtual', 'si-audio-virtual.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,
|
|
)
|