[Python-modules-commits] [python-django] 01/01: Run tests for Python3.4 and Python3.5

Brian May bam at moszumanska.debian.org
Wed Nov 25 06:50:16 UTC 2015


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

bam pushed a commit to branch debian/experimental
in repository python-django.

commit 40a9d73988425effca23abbd294b5fb3f23deca5
Author: Brian May <bam at debian.org>
Date:   Mon Oct 26 13:49:02 2015 +1100

    Run tests for Python3.4 and Python3.5
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9ef53f7..2260291 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,8 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	mkdir -p tmp-locales
 	localedef -i /usr/share/i18n/locales/en_US -c -f UTF-8 -A /usr/share/locale/locale.alias tmp-locales/en_US.UTF-8
-	cd tests && LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.. python ./runtests.py --verbosity=2
-	cd tests && LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.. python3 ./runtests.py --verbosity=2
+	LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.. \
+	    dh_auto_test -- --system=custom --test-args="cd tests && {interpreter} ./runtests.py --verbosity=2"
 	rm -rf tmp-locales
 endif
 

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



More information about the Python-modules-commits mailing list