[Python-modules-commits] [mpmath] 12/13: run tests from inside the mpmath directory

Sandro Tosi morph at moszumanska.debian.org
Sun Nov 26 05:20:30 UTC 2017


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

morph pushed a commit to branch master
in repository mpmath.

commit ebb5bdb08cd3f84154c240913a80141cc33e2e33
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Nov 25 23:54:40 2017 -0500

    run tests from inside the mpmath directory
---
 debian/changelog | 4 +++-
 debian/rules     | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bebf347..582c8a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,12 +13,14 @@ mpmath (1.0.0-1) UNRELEASED; urgency=medium
     - bump Standards-Version to 4.1.1 (no changes needed)
     - add dh-python to b-d
   * Use python3-sphinx to build doc
+  * debian/rules
+    - run tests from inside the mpmath directory
 
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
   * d/copyright: Changed licence shortname BSD -> BSD-3-clause
 
- -- Sandro Tosi <morph at debian.org>  Sat, 25 Nov 2017 22:02:56 -0500
+ -- Sandro Tosi <morph at debian.org>  Sat, 25 Nov 2017 23:54:19 -0500
 
 mpmath (0.19-3) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 6ba54f9..28e36ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	#set -e ; \
 	for python in $(PY2VERS) $(PY3VERS); do \
-		$$python mpmath/tests/runtests.py -strict -py -local ; \
+		cd mpmath ; $$python tests/runtests.py -strict -py -local ; cd .. ; \
 	done
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/mpmath.git



More information about the Python-modules-commits mailing list