[Python-modules-commits] [python-pygerrit2] 01/01: Use pybuild for running tests
Ondrej Novy
onovy at debian.org
Thu Jan 11 14:37:44 UTC 2018
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-pygerrit2.
commit 6cc6157dc863c2da69a933af629dfe72afe41e96
Author: Ondřej Nový <onovy at debian.org>
Date: Thu Jan 11 15:37:33 2018 +0100
Use pybuild for running tests
---
debian/rules | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3c4f2cf..bcc4f75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,5 +9,6 @@ export PYBUILD_NAME=pygerrit2
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
- for py in $$(pyversions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
- for py in $$(py3versions -r 2>/dev/null) ; do echo "Testing with $$py:" ; $$py unittests.py; done
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="{interpreter} unittests.py" \
+ dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pygerrit2.git
More information about the Python-modules-commits
mailing list