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