[med-svn] [Git][med-team/insighttoolkit][master] Update rules, dump log file when the testsuite fails

Gianfranco Costamagna gitlab at salsa.debian.org
Thu Apr 25 11:09:35 BST 2019



Gianfranco Costamagna pushed to branch master at Debian Med / insighttoolkit


Commits:
cff27cbb by Gianfranco Costamagna at 2019-04-25T10:09:33Z
Update rules, dump log file when the testsuite fails
- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -100,7 +100,11 @@ pre-build:
 override_dh_auto_test-indep:
 
 override_dh_auto_test:
-	LD_LIBRARY_PATH=`pwd`/BUILD/lib:`pwd`/BUILD/Testing/Temporary dh_auto_test 
+	LD_LIBRARY_PATH=`pwd`/BUILD/lib:`pwd`/BUILD/Testing/Temporary dh_auto_test || \
+    ( echo "Test log begin =========:"  \
+    && cat `pwd`/BUILD/Testing/Temporary/LastTest.log \
+    && echo "Test log end =========:" \
+    && exit 1 )
 
 override_dh_lintian:
 	echo "#ITK embeds various patched libraries" > debian/$(pkg_lib).lintian-overrides



View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/commit/cff27cbbce7bb38816d626bd5c94a289a905cc9f

-- 
View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/commit/cff27cbbce7bb38816d626bd5c94a289a905cc9f
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190425/2de92acc/attachment.html>


More information about the debian-med-commit mailing list