[sagemath] 01/01: Add another tip about running all tests with -i

Ximin Luo infinity0 at debian.org
Sun Aug 21 10:22:11 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 8d9cf78e8c822fe1fd4baa71f74ccb1e8fda6333
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Aug 21 12:21:57 2016 +0200

    Add another tip about running all tests with -i
---
 debian/README.Debian | 8 ++++++++
 debian/rules         | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 30a1f27..a556d8a 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -46,3 +46,11 @@ Try something like this:
  $ ./sage -t --long -i src/sage/geometry/riemannian_manifolds/parametrized_surface3d.py
 
 to focus on the real source of the error.
+
+To run _all_ the tests with the -i flag, do this:
+
+ $ debian/rules EXTRA_SAGE_TEST_FLAGS=-i ptestlong
+
+The -i flag does still have an effect even though sage continues outputting
+fake command lines like `sage -t --long src/sage/xxx.py` that suggests it's
+being ignored.
diff --git a/debian/rules b/debian/rules
index 9fbcfa6..bbeab19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,7 +49,7 @@ ptestlong:
 	# 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 --logfile=logs/ptestlong.log
+	cd sage && ./sage -t -p --all --long $(EXTRA_SAGE_TEST_FLAGS) --logfile=logs/ptestlong.log
 
 reset: clean
 	QUILT_PATCHES=debian/patches quilt pop -af || true

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