[sagemath] 01/02: Fix up test instructions

Ximin Luo infinity0 at debian.org
Sat Dec 3 13:22:14 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 a8a844e256743178de23d35ff76728a2fdeb5a86
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Dec 3 14:20:53 2016 +0100

    Fix up test instructions
---
 debian/README.Debian | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 99698f5..929acee 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -24,13 +24,16 @@ of the logging output, there will be a summary of all the failures.
 After a successful build, you can run individual tests as follows. First, make
 sure you're in the top-level package directory, where debian/ is. Then:
 
- $ export SAGE_ROOT = $PWD/sage
- $ export SAGE_SPKG_INST = $PWD/sage/local/var/lib/sage/installed
+ $ export SAGE_ROOT=$PWD/sage
+ $ export SAGE_SPKG_INST=$PWD/sage/local/var/lib/sage/installed
  $ export SAGE_LOCAL=$PWD/debian/build/usr
  $ export PYTHONPATH=$SAGE_LOCAL/lib/python2.7/dist-packages
  $ cd sage
  sage$ ./sage -t --long src/sage/geometry/riemannian_manifolds/parametrized_surface3d.py
 
+If doing this after `dh_auto_install` has succeeded, then you'll want to change
+debian/build to debian/tmp in the above commands.
+
 One can also run the tests using the installed sage packages. To this end
 run in a sage source directory (with Debian patches applied)
 

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