[Python-modules-commits] [python-stopit] 01/01: add pytest into autopkgtest

Adrian Alves alvesadrian-guest at moszumanska.debian.org
Tue May 10 21:28:50 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-stopit.

commit 4f17aba40da9f1d178a9ba67749c6e662286be77
Author: Adrian Alves <aalves at gmail.com>
Date:   Tue May 10 18:28:37 2016 -0300

    add pytest into autopkgtest
---
 debian/control       |  2 ++
 debian/tests/control | 12 +++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 5335d4e..174675a 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
 Homepage: https://github.com/glenfant/stopit
diff --git a/debian/tests/control b/debian/tests/control
index 36e118a..c563563 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,7 @@
-Test-Command:
-Depends: python-stopit
-
-Test-Command:
-Depends: python3-stopit
+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-stopit.git



More information about the Python-modules-commits mailing list