[Python-modules-commits] [django-prometheus] 01/04: Use PYBUILD_TEST_ARGS
Christopher Baines
cbaines-guest at moszumanska.debian.org
Mon Mar 21 09:37:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbaines-guest pushed a commit to branch master
in repository django-prometheus.
commit 8f59925499e04dcebbdb57bd0f110330eb94325e
Author: Christopher Baines <mail at cbaines.net>
Date: Mon Mar 21 09:20:11 2016 +0000
Use PYBUILD_TEST_ARGS
---
debian/rules | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3123297..df060b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,9 @@
#!/usr/bin/make -f
-PYTHONS:=$(shell pyversions -vr)
-PYTHON3S:=$(shell py3versions -vr)
+PYBUILD_TEST_ARGS="{interpreter} ./test/end2end/manage.py test --verbosity=2"
# This file was automatically generated by stdeb 0.8.5 at
# Sat, 27 Feb 2016 16:03:34 +0000
export PYBUILD_NAME=django-prometheus
%:
dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
- dh_auto_test
- set -ex ; for i in $(PYTHONS) $(PYTHON3S) ; do \
- PYTHONPATH=. python$$i ./tests/end2end/manage.py test --verbosity=2 ; \
- done
-endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-prometheus.git
More information about the Python-modules-commits
mailing list