[sagemath] 01/02: Create ptestlong target for rules to allow for separate testing.

Tobias Hansen thansen at moszumanska.debian.org
Fri Mar 6 09:31:47 UTC 2015


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

thansen pushed a commit to branch master
in repository sagemath.

commit b0f51f0915b39c6da4f49cd8f6dc9b0779e20100
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Thu Mar 5 15:42:46 2015 +0100

    Create ptestlong target for rules to allow for separate testing.
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6a59dc9..99ed596 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,9 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 override_dh_auto_build: prune
-	$(MAKE) --directory=sage ptestlong
+	$(MAKE) --directory=sage
+
+override_dh_auto_test: ptestlong
 
 override_dh_auto_install:
 
@@ -25,3 +27,7 @@ prune:
 	debian/pruner/configure --with-sage-root="$(shell pwd)/sage"
 	cd sage && python ../pruner.py
 	touch prune
+
+ptestlong:
+	cd sage && local/bin/sage-starts
+	cd sage && ./sage -t -p --all --long --logfile=logs/ptestlong.log

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