[h5py] 01/08: Run DEP-8 tests for all supported Python versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Apr 8 15:05:08 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository h5py.

commit e8389abd6815b66d115279c8bee459b47a20e235
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Mar 25 15:05:05 2017 +0000

    Run DEP-8 tests for all supported Python versions
---
 debian/tests/control | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 5cd323f..cbc6bd9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,9 +1,27 @@
-Test-Command: cd $AUTOPKGTEST_TMP
- ; python -c "import h5py; h5py.run_tests()"
-Depends: python-h5py
+Test-Command: set -e
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -c "import h5py; h5py.run_tests()"
+ ; echo "Testing with $py-dbg:"
+ ; $py-dbg -c "import h5py; h5py.run_tests()"
+ ; done
+Depends: python-all,
+         python-all-dbg,
+         python-h5py,
+         python-h5py-dbg
 Restrictions: allow-stderr
 
-Test-Command: cd $AUTOPKGTEST_TMP
- ; python3 -c "import h5py; h5py.run_tests()"
-Depends: python3-h5py
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -c "import h5py; h5py.run_tests()"
+ ; echo "Testing with $py-dbg:"
+ ; $py-dbg -c "import h5py; h5py.run_tests()"
+ ; done
+Depends: python3-all,
+         python3-all-dbg,
+         python3-h5py,
+         python3-h5py-dbg
 Restrictions: allow-stderr

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



More information about the debian-science-commits mailing list