[telepathy-glib/master] Resurrect with-session-bus.sh invocation in tests/dbus/Makefile.am

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Apr 23 09:39:16 PDT 2009


This means we can run regression tests on systems with no X session, no
D-Bus session and no /var/lib/dbus/machine-id (hello, Scratchbox); it also
means we don't pollute the user's real D-Bus session, if they have one.

(Not doing this was a regression in 0.7.27)
---
 tests/dbus/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/dbus/Makefile.am b/tests/dbus/Makefile.am
index c7db62e..0ddd364 100644
--- a/tests/dbus/Makefile.am
+++ b/tests/dbus/Makefile.am
@@ -134,7 +134,8 @@ TESTS_ENVIRONMENT = \
     abs_top_builddir=@abs_top_builddir@ \
     XDG_DATA_HOME=@abs_builddir@ \
     XDG_DATA_DIRS=@abs_srcdir@ \
-    G_DEBUG=fatal_warnings,fatal_criticals
+    G_DEBUG=fatal_warnings,fatal_criticals \
+    sh $(top_srcdir)/tools/with-session-bus.sh --session --
 
 check-valgrind:
 	$(MAKE) check-TESTS \
-- 
1.5.6.5



More information about the telepathy-commits mailing list