From e4a75a0844189e4a9240cb6d2e00946361036d3c Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Tue, 14 Oct 2025 17:17:31 +0200 Subject: [PATCH] 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 Part-of: --- tests/meson.build | 6 +++++- tests/services/meson.build | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index a67f0cb..8f4bc29 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -62,7 +62,11 @@ tests = [ ['ui-call', ['test-ui-call.c', 'mock-call.c']], ['contacts', ['test-contacts.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', ['mock-call.c', 'test-ringer.c'], diff --git a/tests/services/meson.build b/tests/services/meson.build index 559c88c..337da3c 100644 --- a/tests/services/meson.build +++ b/tests/services/meson.build @@ -1,4 +1,4 @@ -t = executable( +dbus_server = executable( 'calls-dbus-server', 'calls-server.c', dbus_config_h,