[Telepathy-commits] [telepathy-gabble/master] exec gabble with refdbg when tests are runned with GABBLE_TEST_REFDBG

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:51 PDT 2008


20080729140049-7fe3f-a3ea0bd5847dbd228ab84f00e69cac58377a3d73.gz
---
 tests/twisted/tools/exec-with-log.sh.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index 3d495d5..62b5fa1 100644
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -14,6 +14,9 @@ if test -n "$GABBLE_TEST_VALGRIND"; then
 	GABBLE_WRAPPER="$GABBLE_WRAPPER --gen-suppressions=all"
 	GABBLE_WRAPPER="$GABBLE_WRAPPER --child-silent-after-fork=yes"
 	GABBLE_WRAPPER="$GABBLE_WRAPPER --suppressions=@abs_top_srcdir@/tests/twisted/tools/tp-glib.supp"
+elif test -n "$GABBLE_TEST_REFDBG"; then
+        export REFDBG_OPTIONS="btnum=10"
+	GABBLE_WRAPPER="refdbg"
 fi
 
 exec $GABBLE_WRAPPER ../telepathy-gabble-debug
-- 
1.5.6.5




More information about the Telepathy-commits mailing list