From 1336243c329f5d74fcc4b9dd7bade9dfe8df6812 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 11 Mar 2011 12:45:08 +0000 Subject: [PATCH 06/19] Give the tests DBUS_TEST_DAEMON and DBUS_TEST_DATA in their environment This will allow modular tests to spawn a dbus-daemon with a specified config file; nothing uses this just yet. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570 --- test/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 0ec176e..8882851 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -76,6 +76,10 @@ modular_tests = \ test-loopback \ test-relay +TESTS_ENVIRONMENT = \ + DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT) \ + DBUS_TEST_DATA=@abs_top_srcdir@/test/data + test_loopback_SOURCES = loopback.c test_loopback_CPPFLAGS = $(GLIB_CFLAGS) $(DBUS_GLIB_CFLAGS) test_loopback_LDFLAGS = @R_DYNAMIC_LDFLAG@ -- 1.7.4.1