[Python-modules-commits] [python-qtawesome] 02/06: Add packaging testsuite.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Jul 8 16:45:29 UTC 2016
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 9bc30d2a41f744f03043c48da555f0cb4a65398e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Jul 8 11:17:12 2016 +0100
Add packaging testsuite.
---
debian/control | 1 +
debian/tests/control | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/control b/debian/control
index f142860..68be1ba 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: python-qtawesome
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
Section: python
+Testsuite: autopkgtest
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f5832f7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Test-Command: cp ./example.py $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run python example.py
+Depends: python, python-qtawesome, python-six, xauth, xvfb
+
+Test-Command: cp ./example.py $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run python3 example.py
+Depends: python3, python3-qtawesome, python3-six, 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