| 1 |
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_dep] |
| 2 |
common_env = common_test_env |
| 3 |
common_env.set('G_TEST_SRCDIR', meson.current_source_dir()) |
| 4 |
common_env.set('G_TEST_BUILDDIR', meson.current_build_dir()) |
| 5 |
|
| 6 |
if get_option('dbus-tests') |
| 7 |
test( |
| 8 |
'test-dbus-connection', |
| 9 |
executable('test-dbus-connection', 'dbus-connection.c', |
| 10 |
dependencies: common_deps), |
| 11 |
env: common_env, |
| 12 |
) |
| 13 |
|
| 14 |
test( |
| 15 |
'test-reserve-device', |
| 16 |
executable('test-reserve-device', 'reserve-device.c', |
| 17 |
dependencies: common_deps), |
| 18 |
env: common_env, |
| 19 |
) |
| 20 |
endif |
| 21 |
|
| 22 |
test( |
| 23 |
'test-file-monitor', |
| 24 |
executable('test-file-monitor', 'file-monitor.c', |
| 25 |
dependencies: common_deps), |
| 26 |
env: common_env, |
| 27 |
) |
| 28 |
|
| 29 |
test( |
| 30 |
'test-si-node', |
| 31 |
executable('test-si-node', 'si-node.c', |
| 32 |
dependencies: common_deps), |
| 33 |
env: common_env, |
| 34 |
) |
| 35 |
|
| 36 |
test( |
| 37 |
'test-si-audio-adapter', |
| 38 |
executable('test-si-audio-adapter', 'si-audio-adapter.c', |
| 39 |
dependencies: common_deps), |
| 40 |
env: common_env, |
| 41 |
) |
| 42 |
|
| 43 |
test( |
| 44 |
'test-si-standard-link', |
| 45 |
executable('test-si-standard-link', 'si-standard-link.c', |
| 46 |
dependencies: common_deps), |
| 47 |
env: common_env, |
| 48 |
) |