[Python-modules-commits] [python-qtawesome] 08/09: Run autopkgtests for all supported Python versions
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Apr 5 17:38: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 python-qtawesome.
commit f138713cac3b85660e92972a613e0caae61f6a99
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Mar 27 14:48:44 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 f6c8a46..f3339b3 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,23 @@
-Test-Command: xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" python example.py
-Depends: python-qtawesome, xauth, xvfb
+Test-Command: set -e
+ ; cp example.py "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" $py example.py
+ ; done
+Depends: python-all,
+ python-qtawesome,
+ xauth,
+ xvfb
-Test-Command: xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" python3 example.py
-Depends: python3-qtawesome, xauth, xvfb
+Test-Command: set -e
+ ; cp example.py "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" $py example.py
+ ; done
+Depends: python3-all,
+ python3-qtawesome,
+ xauth,
+ xvfb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtawesome.git
More information about the Python-modules-commits
mailing list