From: Thomas Goirand Date: Sat, 18 Apr 2015 19:19:38 +0000 (+0200) Subject: Do not allow unit tests to fail. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=88daccfd6f042b9d4e3a9ffe5af6d53c7f8eef36;p=openstack-build%2Fceilometer-build.git Do not allow unit tests to fail. Rewritten-From: f06fb8e5591f9bde62ecfc74ce0401817755a592 --- diff --git a/trusty/debian/rules b/trusty/debian/rules index 79608a6..0af17a9 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -46,10 +46,10 @@ override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) rm -rf .testrepository testr init - set -e && \ - TEMP_REZ=`mktemp -t` && \ - bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ - cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \ + set -e ; \ + TEMP_REZ=`mktemp -t` ; \ + bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit ; \ + cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $$TEMP_REZ ; testr slowest endif