[sagemath] 04/07: Fix FTBFS everywhere caused by bad Makefile syntax for running tests

Ximin Luo infinity0 at debian.org
Thu Aug 17 13:24:25 UTC 2017


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 4cfa9806f433b0ac878e9980b45b8584c9f2eba2
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Aug 17 14:11:52 2017 +0200

    Fix FTBFS everywhere caused by bad Makefile syntax for running tests
---
 debian/changelog | 6 ++++++
 debian/rules     | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4295ee0..2e76653 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagemath (8.0-3) UNRELEASED; urgency=medium
+
+  * Fix FTBFS everywhere caused by bad Makefile syntax for running tests.
+
+ -- Ximin Luo <infinity0 at debian.org>  Thu, 17 Aug 2017 13:54:01 +0200
+
 sagemath (8.0-2) experimental; urgency=medium
 
   * Fix FTBFS everywhere by adding python-dev to Build-Depends since the
diff --git a/debian/rules b/debian/rules
index eac7f5a..eb0c250 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,11 +106,11 @@ check_test_log = debian/rules -s LOGFILE=sage/logs/ptestlong-$(1).log
 run_tests_with_retry = \
 	$(run_tests); cd "$(CURDIR)" && \
 	if $(is_prerelease); then :; \
-	elif check_test_log had-few-failures; then :; else \
-	  check_test_log had-not-too-many-failures && \
+	elif $(check_test_log) had-few-failures; then :; else \
+	  $(check_test_log) had-not-too-many-failures && \
 	  mv sage/logs/ptestlong-$(1).log sage/logs/ptestlong-$(1).log.1 && \
 	  { $(run_tests) -p 1 -f; cd "$(CURDIR)" && \
-	  check_test_log had-few-failures; }; \
+	  $(check_test_log) had-few-failures; }; \
 	fi
 
 override_dh_auto_test-arch:

-- 
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