[sagemath] 01/01: Do not abort package build when tests fail.

Tobias Hansen thansen at moszumanska.debian.org
Sat Nov 19 13:48:37 UTC 2016


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

thansen pushed a commit to branch master
in repository sagemath.

commit 6703b9397e58439a332ca06fa56446ef4708fab6
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Sat Nov 19 13:45:46 2016 +0000

    Do not abort package build when tests fail.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 690c7e9..9be7c88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -139,7 +139,8 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# to detect a previous successful (override_)dh_auto_build, so if we run
 	# `debian/rules build` twice it will go directly to (override_)dh_auto_test
 	# (and then this target) without trying (override_)dh_auto_build again.
-	cd sage && ./sage -t -p --all --long $(EXTRA_SAGE_TEST_FLAGS) --logfile=logs/ptestlong.log
+	cd sage && ./sage -t -p --all --long $(EXTRA_SAGE_TEST_FLAGS) --logfile=logs/ptestlong.log; sleep 0
+	# sleep 0 in order not to abort the package build upon failing tests
 endif
 
 # If the docbuild fails and you want to try again, you should run this first.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list