[Python-modules-commits] [python-pygraphviz] 13/14: make tests errors fail the build; Closes: #842539
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 8 20:06:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-pygraphviz.
commit f094dbbc63c7489bbf64409a160b08ed4d843d8e
Author: Sandro Tosi <morph at debian.org>
Date: Sun Jan 8 15:02:42 2017 -0500
make tests errors fail the build; Closes: #842539
---
debian/changelog | 3 ++-
debian/rules | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1f7aa2c..7b23470 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,9 @@ python-pygraphviz (1.4~rc1-1) UNRELEASED; urgency=medium
* debian/rules
- remove doc/build in clean target, this allows the package to be built
twice in a row; Closes: #825922
+ - make tests errors fail the build; Closes: #842539
- -- Sandro Tosi <morph at debian.org> Sun, 08 Jan 2017 14:55:42 -0500
+ -- Sandro Tosi <morph at debian.org> Sun, 08 Jan 2017 15:02:07 -0500
python-pygraphviz (1.3.1-1.1) unstable; urgency=high
diff --git a/debian/rules b/debian/rules
index 8d5096e..aeca00e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,7 +42,8 @@ override_dh_installdocs:
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
- -for python in $(PYTHON2) $(PYTHON3); do \
+ set -e; \
+ for python in $(PYTHON2) $(PYTHON3); do \
echo "-- running tests for "$$python" plain --" ; \
LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_platlib)") ; \
touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pygraphviz.git
More information about the Python-modules-commits
mailing list