[sagemath] 01/01: Add failed-tests target to d/rules to count failed tests.

Tobias Hansen thansen at moszumanska.debian.org
Wed Oct 5 15:13:29 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 a2d93f8a8d62b05ae7ca8f956a5fcba57e658d78
Author: Tobias Hansen <thansen at debian.org>
Date:   Wed Oct 5 15:13:21 2016 +0000

    Add failed-tests target to d/rules to count failed tests.
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5cd3a39..ffe9d41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,3 +72,6 @@ build-dep:
 	if which aptitude >/dev/null; then sudo aptitude install -R sagemath-build-deps; \
 	else sudo apt-get install --no-install-recommends sagemath-build-deps; fi
 	rm -f sagemath-build-deps_$(DEB_VERSION)_all.deb
+
+failed-tests:
+	grep "Failed example:" sage/logs/ptestlong.log | awk '{s++} END {print s}'

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