[telepathy-gabble/master] run all tests with fatal warnings and criticals

Dafydd Harries dafydd.harries at collabora.co.uk
Fri Aug 14 06:10:51 PDT 2009


---
 tests/Makefile.am                       |    4 +++-
 tests/twisted/tools/exec-with-log.sh.in |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6e58fea..77da001 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,11 +21,13 @@ AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ @LOUDMOUTH_CFLAGS@ \
 
 TESTS = $(noinst_PROGRAMS)
 
+TESTS_ENVIRONMENT = G_DEBUG=fatal-warnings,fatal-criticals
+
 check-valgrind:
 	G_SLICE=always-malloc \
 	G_DEBUG=gc-friendly \
 	$(MAKE) \
-		TESTS_ENVIRONMENT="\
+		TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) \
 		libtool --mode=execute valgrind \
 			--leak-check=full \
 			--show-reachable=no \
diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index 059e689..ad24118 100644
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -25,5 +25,5 @@ elif test -n "$GABBLE_TEST_STRACE"; then
         GABBLE_WRAPPER="strace -o strace.log"
 fi
 
-export G_DEBUG=fatal-warnings" ${G_DEBUG}"
+export G_DEBUG=fatal-warnings,fatal-criticals" ${G_DEBUG}"
 exec @abs_top_builddir@/libtool --mode=execute $GABBLE_WRAPPER ../telepathy-gabble-debug
-- 
1.5.6.5



More information about the telepathy-commits mailing list