[Xfce4-commits] <xfconf:master> Add hook to skip the xfconf tests.

Nick Schermer noreply at xfce.org
Wed Mar 9 12:16:01 CET 2011


Updating branch refs/heads/master
         to 9d8927b5a9e16e3782fe37a64f90a47ad1d3c3c1 (commit)
       from 3178c35d6924a62f491eb3c37e1ee72835b6fa4f (commit)

commit 9d8927b5a9e16e3782fe37a64f90a47ad1d3c3c1
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Mar 9 12:15:04 2011 +0100

    Add hook to skip the xfconf tests.

 tests/test-template.sh.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests/test-template.sh.in b/tests/test-template.sh.in
index 0d0710d..2e638a8 100644
--- a/tests/test-template.sh.in
+++ b/tests/test-template.sh.in
@@ -18,6 +18,13 @@ die() {
     exit 1
 }
 
+# some buildbots have problems with the tests (dbus not
+# working properly without an X11 server).
+if [ -n "$XFCONF_SKIP_TESTS" ]; then
+  echo "Warning: Tests disabled, skipping @TEST_NAME@" >&2
+  exit 0
+fi
+
 unset DBUS_SESSION_BUS_ADDRESS
 unset DBUS_SESSION_BUS_PID
 unset XFCONFD_PID



More information about the Xfce4-commits mailing list