Unit test failures are now failing the build.

This commit is contained in:
Thomas Goirand
2015-09-22 08:43:05 +00:00
parent 9673098882
commit cbadf36e11
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
python-cinderclient (1:1.4.0-2) experimental; urgency=medium
* Unit test failures are now failing the build.
-- Thomas Goirand <zigo@debian.org> Tue, 22 Sep 2015 08:42:45 +0000
python-cinderclient (1:1.4.0-1) experimental; urgency=medium
* New upstream release.

4
debian/rules vendored
View File

@@ -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