This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository mia.

commit d69f6c99c8d4a024705b058d98930a7b19bb32de
Author: Gert Wollny <gw.foss...@gmail.com>
Date:   Wed Jan 7 12:22:39 2015 +0100

    add printing out the test log if make test fails
---
 debian/rules | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 7ca15db..79fd505 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed 
-fvisibility=hidden
 
 export DH_ALWAYS_EXCLUDE=jquery.js
 
-.PHONY: override_dh_strip override_dh_shlibdeps 
+.PHONY: override_dh_strip override_dh_shlibdeps override_dh_auto_test
 
 %:
        dh $@ --parallel
@@ -27,3 +27,10 @@ override_dh_strip:
 override_dh_shlibdeps:
        dh_shlibdeps -- $(shell find  debian/libmia-2.2-0/ -name "*.mia")
 
+override_dh_auto_test:
+       dh_auto_test || \
+               ( echo "Test log begin =========:"  \
+               && cat `pwd`/obj-*/Testing/Temporary/LastTest.log \
+               && echo "Test log end =========:" \
+               && exit 1)
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/mia.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to