From 1c485fc7be4068e3b16aff1bdbb6cbc2edcbeafd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 11 Mar 2011 12:45:08 +0000 Subject: [PATCH] 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. Reviewed-by: Will Thompson Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570 --- test/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Makefile.am b/test/Makefile.am index 0ec176e6..88828516 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@