[python-imageio] 05/06: Run autopkgtests for all supported Python versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Feb 28 15:41:29 UTC 2017


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

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

commit 91b4cdf050245f34f6e755174db04fddcc5f3d45
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Feb 28 15:18:23 2017 +0000

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

diff --git a/debian/tests/control b/debian/tests/control
index fc49c1d..192f9c6 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,21 @@
-Test-Command: IMAGEIO_NO_INTERNET=1 pytest tests
-Depends: python-imageio, python-pytest
+Test-Command: set -e
+ ; cp -a tests/* "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; IMAGEIO_NO_INTERNET=1 $py -m pytest -v .
+ ; done
+Depends: python-all,
+         python-imageio,
+         python-pytest
 
-Test-Command: IMAGEIO_NO_INTERNET=1 pytest-3 tests
-Depends: python3-imageio, python3-pytest
+Test-Command: set -e
+ ; cp -a tests/* "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; IMAGEIO_NO_INTERNET=1 $py -m pytest -v .
+ ; done
+Depends: python3-all,
+         python3-imageio,
+         python3-pytest

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



More information about the debian-science-commits mailing list