[Python-modules-commits] [python-django] 08/09: Run tests for all supported Python versions.
Raphaël Hertzog
hertzog at moszumanska.debian.org
Wed Nov 25 15:19:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
hertzog pushed a commit to branch debian/master
in repository python-django.
commit 001bb3678302eeff60c8cfdf40661107fb3be48e
Author: Raphaël Hertzog <hertzog at debian.org>
Date: Wed Nov 25 15:48:17 2015 +0100
Run tests for all supported Python versions.
---
debian/changelog | 1 +
debian/rules | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 068ae7d..5bdd2c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ python-django (1.8.7-2) UNRELEASED; urgency=high
* Extend lintian overrides to cover more false positives of
source-is-missing.
* Cleanup debian/copyright for dropped/renamed files.
+ * Run tests for all supported Python versions.
-- Raphaël Hertzog <hertzog at debian.org> Wed, 25 Nov 2015 12:32:25 +0100
diff --git a/debian/rules b/debian/rules
index 65e4cfa..4cf803e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,8 +19,10 @@ override_dh_auto_build:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- cd tests && LC_ALL=C.UTF-8 PYTHONPATH=.. python ./runtests.py --verbosity=2
- cd tests && LC_ALL=C.UTF-8 PYTHONPATH=.. python3 ./runtests.py --verbosity=2
+ cd tests && for python in $$(pyversions -s) $$(py3versions -s); do \
+ echo "——— Running tests with $$python ———"; \
+ LC_ALL=C.UTF-8 PYTHONPATH=.. $$python ./runtests.py --verbosity=2; \
+ done
endif
override_dh_clean:
--
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