[Telepathy-commits] [telepathy-gabble/master] tests/twisted/Makefile.am: consider it to be a failure if Gabble dumps core

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:52:00 PDT 2008


20080501173136-53eee-458c09915720cbad169d1d43455eafeaa789c907.gz
---
 tests/twisted/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 947293e..c633676 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -57,8 +57,13 @@ TESTS_ENVIRONMENT = \
 
 check-local: check-coding-style
 	$(MAKE) -C tools
+	rm -f tools/core
 	sh $(srcdir)/tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf -- $(MAKE) check-TESTS \
 		TESTS="$(TWISTED_TESTS)" TESTS_ENVIRONMENT="PYTHONPATH=@abs_top_srcdir@/tests/twisted $(PYTHON)"
+	@if test -e tools/core; then\
+		echo "Core dump exists: tools/core";\
+		exit 1;\
+	fi
 
 EXTRA_DIST = \
 	$(TWISTED_TESTS) \
-- 
1.5.6.3




More information about the Telepathy-commits mailing list