[Python-modules-commits] [pytest-xvfb] 01/02: Run autopkgtests for all supported Python versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Feb 23 16:34:12 UTC 2017


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

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

commit ab8ea12a3a8356bb28702e27bfb9b28e2d4bd2ff
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Feb 23 15:45:47 2017 +0000

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

diff --git a/debian/tests/control b/debian/tests/control
index e1bb9d0..4a93839 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,8 @@
-Test-Command: cp -a tests $AUTOPKGTEST_TMP
- ; cd $AUTOPKGTEST_TMP
- ; python3 -m pytest tests
-Depends: python3-pytest-xvfb, python3-tk
+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:"
+ ; $py -m pytest tests
+ ; done
+Depends: @, python3-all, python3-tk

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



More information about the Python-modules-commits mailing list