tests: Add dbus server binary to dependencies

Otherwise we `meson test` will not compile the server
required for the DBus tests.

Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/719

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/798>
This commit is contained in:
Evangelos Ribeiro Tzaras
2025-10-14 17:17:31 +02:00
committed by Marge Bot
parent 3184fa3af0
commit e4a75a0844
2 changed files with 6 additions and 2 deletions

View File

@@ -62,7 +62,11 @@ tests = [
['ui-call', ['test-ui-call.c', 'mock-call.c']], ['ui-call', ['test-ui-call.c', 'mock-call.c']],
['contacts', ['test-contacts.c']], ['contacts', ['test-contacts.c']],
['settings', ['test-settings.c']], ['settings', ['test-settings.c']],
['dbus', ['test-dbus.c', generated_dbus_sources]], [
'dbus',
['test-dbus.c', generated_dbus_sources],
{'extra_test_deps' : [dbus_server]},
],
[ [
'ringer', 'ringer',
['mock-call.c', 'test-ringer.c'], ['mock-call.c', 'test-ringer.c'],

View File

@@ -1,4 +1,4 @@
t = executable( dbus_server = executable(
'calls-dbus-server', 'calls-dbus-server',
'calls-server.c', 'calls-server.c',
dbus_config_h, dbus_config_h,