[Python-modules-commits] [djangorestframework-gis] 01/01: Simplify tests.

Brian May bam at moszumanska.debian.org
Sun Oct 25 23:33:24 UTC 2015


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

bam pushed a commit to branch master
in repository djangorestframework-gis.

commit b4e8a8f35d2cd34ed24c0f5abec583d65528657c
Author: Brian May <bam at debian.org>
Date:   Mon Oct 26 10:30:58 2015 +1100

    Simplify tests.
---
 debian/rules | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8e43552..54fd6c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,4 @@ export PYBUILD_NAME=djangorestframework-gis
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e; \
-	for python in $(shell pyversions -r) $(shell py3versions -r); do \
-	  $$python runtests.py ; \
-	done
-endif
+	dh_auto_test -- --system=custom --test-args="{interpreter} ./runtests.py"

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



More information about the Python-modules-commits mailing list