From cbadf36e11c3049a3cf6aca96ad1f09f7badfa35 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 22 Sep 2015 08:43:05 +0000 Subject: [PATCH] Unit test failures are now failing the build. --- debian/changelog | 6 ++++++ debian/rules | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 74dd5fd..d92c56c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-cinderclient (1:1.4.0-2) experimental; urgency=medium + + * Unit test failures are now failing the build. + + -- Thomas Goirand Tue, 22 Sep 2015 08:42:45 +0000 + python-cinderclient (1:1.4.0-1) experimental; urgency=medium * New upstream release. diff --git a/debian/rules b/debian/rules index f95711e..15dba00 100755 --- a/debian/rules +++ b/debian/rules @@ -41,8 +41,8 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) rm -rf .testrepository ; \ testr-python$$PYMAJOR init ; \ TEMP_REZ=`mktemp -t` ; \ - PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit | tee $$TEMP_REZ | subunit2pyunit || true ; \ - cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \ + PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \ + cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $$TEMP_REZ ; \ testr-python$$PYMAJOR slowest ; \ done