Do not allow unit tests to fail.
authorThomas Goirand <zigo@debian.org>
Sat, 18 Apr 2015 19:19:38 +0000 (21:19 +0200)
committerThomas Goirand <zigo@debian.org>
Sat, 18 Apr 2015 19:19:38 +0000 (21:19 +0200)
Rewritten-From: f06fb8e5591f9bde62ecfc74ce0401817755a592

xenial/debian/rules

index 79608a6157635883d82b497b27126e29198c7615..0af17a95eb079f22b4c273fc93ef3201fe6a929e 100755 (executable)
@@ -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