[Telepathy-commits] [telepathy-gabble/master] Concatenate the logs for all Twisted tests, clearing them at the beginning of the run

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Aug 21 05:41:42 PDT 2008


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

diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 8e63eeb..5bdffe6 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -70,6 +70,7 @@ check-local: check-coding-style check-twisted
 check-twisted:
 	$(MAKE) -C tools
 	rm -f tools/core
+	rm -f tools/gabble-testing.log
 	sh $(srcdir)/tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf -- $(MAKE) check-TESTS \
 		TESTS="$(TWISTED_TESTS)" \
 		TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(TEST_PYTHON)"
diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index 749a633..d7f3218 100644
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -4,7 +4,7 @@ cd "@abs_top_builddir@/tests/twisted/tools"
 
 export GABBLE_DEBUG=all LM_DEBUG=net
 ulimit -c unlimited
-exec > gabble-testing.log 2>&1
+exec >> gabble-testing.log 2>&1
 
 if test -n "$GABBLE_TEST_VALGRIND"; then
 	export G_DEBUG=gc-friendly
-- 
1.5.6.3




More information about the Telepathy-commits mailing list