summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-04-28 15:46:29 -0400
committerColin Walters <walters@verbum.org>2010-04-28 15:47:03 -0400
commit9ebe54e7ec35b5781ab48b3a9efbc4bef5867eeb (patch)
tree47828fb73bdbf9c9e6dec57dfca79a408f1df100
parentabfae94b4f5a2cbb8817fa0fb5354ff8a5a92e00 (diff)
Allow using DBUS_TEST_MONITOR in run-test.sh
-rwxr-xr-xtest/core/run-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/core/run-test.sh b/test/core/run-test.sh
index 150ae0d..92cf7fe 100755
--- a/test/core/run-test.sh
+++ b/test/core/run-test.sh
@@ -34,5 +34,8 @@ elif test x$MODE = xwait ; then
sleep 86400
else
echo "running test-dbus-glib"
+ if test x$DBUS_TEST_MONITOR != x; then
+ dbus-monitor --session &
+ fi
libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/core/test-dbus-glib || die "test-dbus-glib failed"
fi