[Python-modules-commits] [python-django] 07/08: Add "set -e" in the command line running the tests with all supported versions
Raphaël Hertzog
hertzog at moszumanska.debian.org
Wed Dec 30 18:05:34 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 fbbc9f458ea3916e62cde0475f6025275c34abb4
Author: Raphaël Hertzog <hertzog at debian.org>
Date: Wed Dec 30 18:36:02 2015 +0100
Add "set -e" in the command line running the tests with all supported versions
That way it actually fails as soon as one version is failing (and thus
disallow later successes to shadow earlier failures).
---
debian/changelog | 3 +++
debian/rules | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index e8e0956..63a3b0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ python-django (1.9-2) unstable; urgency=medium
python3.
* Add python-tblib and python3-tblib to Build-Depends for the benefit of
the parallel testing feature of the test suite.
+ * Add "set -e" in the command line running the tests with all supported
+ versions so that it actually fails as soon as one version is failing
+ (and thus disallow later successes to shadow earlier failures).
-- Raphaël Hertzog <hertzog at debian.org> Wed, 30 Dec 2015 16:44:04 +0100
diff --git a/debian/rules b/debian/rules
index 0002309..0c1982d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_auto_build:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- cd tests && for python in $$(pyversions -s) $$(py3versions -s); do \
+ set -e; 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
--
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