2019-10-09 17:51:24 +03:00
|
|
|
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_dep]
|
2021-06-18 19:34:25 +03:00
|
|
|
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())
|
2020-04-22 18:36:15 +03:00
|
|
|
common_args = [
|
2022-03-21 12:01:00 +01:00
|
|
|
'-D_GNU_SOURCE',
|
2020-04-22 18:36:15 +03:00
|
|
|
'-DG_LOG_USE_STRUCTURED',
|
2019-10-09 17:51:24 +03:00
|
|
|
]
|
|
|
|
|
|
2022-10-18 15:54:55 +03:00
|
|
|
if get_option('dbus-tests')
|
2022-07-31 22:20:16 +02:00
|
|
|
test(
|
|
|
|
|
'test-reserve-device',
|
|
|
|
|
executable('test-reserve-device', 'reserve-device.c',
|
|
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|
|
|
|
|
endif
|
2021-01-26 13:38:09 +02:00
|
|
|
|
2021-08-02 13:32:16 -04:00
|
|
|
test(
|
|
|
|
|
'test-file-monitor',
|
|
|
|
|
executable('test-file-monitor', 'file-monitor.c',
|
|
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|
|
|
|
|
|
2020-04-23 15:25:07 +03:00
|
|
|
test(
|
2021-03-10 13:20:35 -05:00
|
|
|
'test-si-node',
|
|
|
|
|
executable('test-si-node', 'si-node.c',
|
2020-04-23 15:25:07 +03:00
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|
2020-04-27 13:07:11 -04:00
|
|
|
|
|
|
|
|
test(
|
2021-03-18 14:47:22 -04:00
|
|
|
'test-si-audio-adapter',
|
|
|
|
|
executable('test-si-audio-adapter', 'si-audio-adapter.c',
|
2021-03-09 13:13:14 -05:00
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|
|
|
|
|
|
2021-03-19 14:35:48 -04:00
|
|
|
test(
|
|
|
|
|
'test-si-audio-endpoint',
|
|
|
|
|
executable('test-si-audio-endpoint', 'si-audio-endpoint.c',
|
|
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|
|
|
|
|
|
2020-05-05 18:00:40 +03:00
|
|
|
test(
|
|
|
|
|
'test-si-standard-link',
|
|
|
|
|
executable('test-si-standard-link', 'si-standard-link.c',
|
|
|
|
|
dependencies: common_deps, c_args: common_args),
|
|
|
|
|
env: common_env,
|
|
|
|
|
)
|