[Python-modules-commits] [python-cluster] 01/01: add pytest to autopkgtest

Adrian Alves alvesadrian-guest at moszumanska.debian.org
Tue May 10 21:27:14 UTC 2016


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

alvesadrian-guest pushed a commit to branch master
in repository python-cluster.

commit 4677891ff11ab5052a2774b2e769e2b900e3bdd6
Author: Adrian Alves <aalves at gmail.com>
Date:   Tue May 10 18:27:00 2016 -0300

    add pytest to autopkgtest
---
 debian/control       | 2 ++
 debian/tests/control | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/control b/debian/control
index 8b7707c..2c6eafe 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,9 @@ Build-Depends: debhelper (>= 9),
                dh-python,
                python-all,
                python-setuptools,
+               python-pytest,
                python3-all,
+               python3-pytest,
                python3-setuptools
 Standards-Version: 3.9.8
 Testsuite: autopkgtest-pkg-python
diff --git a/debian/tests/control b/debian/tests/control
index 5144bf9..55e2698 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -4,3 +4,10 @@ Depends: python-cluster
 Test-Command: python3 -c "import cluster; print(cluster)"
 Depends: python3-cluster
 
+Test-Command: for p in $(pyversions -s) $(py3versions -s); do $p -m pytest tests/; done
+Depends:
+ python-all,
+ python-pytest,
+ python3-all,
+ python3-pytest,
+ @

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



More information about the Python-modules-commits mailing list