From a107da84891f941d591bcaa99641f4058f089c7d Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Thu, 26 Oct 2006 15:55:44 +0000 Subject: * tools/dbus-launch.c (main): run the dbus-daemon in the builddir if tests are enabled and the DBUS_USE_TEST_BINARY env variable is set * tools/run-with-tmp-session-bus.sh: set DBUS_USE_TEST_BINARY before we run dbus-launch * configure.in: define TEST_BUS_BINARY to be the full path to dbus-daemon in the build root --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0a5fdbb4..9efd8178 100644 --- a/configure.in +++ b/configure.in @@ -1138,6 +1138,10 @@ TEST_PATH(EXIT_BINARY, test-exit) TEST_PATH(SEGFAULT_BINARY, test-segfault) TEST_PATH(SLEEP_FOREVER_BINARY, test-sleep-forever) +AC_DEFINE_UNQUOTED(TEST_BUS_BINARY, "$DBUS_PWD/bus/dbus-daemon", + [Full path to the daemon in the builddir]) +AC_SUBST(TEST_BUS_BINARY) + #### Find socket directories if ! test -z "$TMPDIR" ; then DEFAULT_SOCKET_DIR=$TMPDIR -- cgit