ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
rm -rf .testrepository
testr init
- bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | subunit2pyunit || true
+ set -e && \
+ TEMP_REZ=`mktemp -t` && \
+ bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | subunit2pyunit || true ; \
+ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
+ rm -f $$TEMP_REZ ;
testr slowest
- testr last --subunit | subunit-filter -s --no-passthrough | subunit-stats
endif