[python-dtcwt] 20/22: Run autopkgtests for all supported Python versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 15 13:06:39 UTC 2017


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

ghisvail-guest pushed a commit to branch debian/master
in repository python-dtcwt.

commit 81c4d580c2a89ccac833f8de29227503fca2f362
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Sep 15 11:08:55 2017 +0100

    Run autopkgtests for all supported Python versions
---
 debian/tests/control | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 4347e0c..f84240a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,23 @@
-Test-Command: cp -a ./tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; py.test
-Depends: python-dtcwt, python-scipy, python-pytest
+Test-Command: set -e
+ ; cp -r tests $AUTOPKGTEST_TMP
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v tests
+ ; done
+Depends: python-all,
+         python-dtcwt,
+         python-pytest,
+         python-scipy
 
-Test-Command: cp -a ./tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; py.test-3
-Depends: python3-dtcwt, python3-scipy, python3-pytest
+Test-Command: set -e
+ ; cp -r tests $AUTOPKGTEST_TMP
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v tests
+ ; done
+Depends: python3-all,
+         python3-dtcwt,
+         python3-pytest,
+         python3-scipy

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



More information about the debian-science-commits mailing list