Fixed subunit stats output
authorThomas Goirand <thomas@goirand.fr>
Wed, 2 Apr 2014 06:17:58 +0000 (14:17 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 2 Apr 2014 06:17:58 +0000 (14:17 +0800)
Change-Id: Id633cca755c52be5e3b99fbdf6d70e2a9aabb662

Rewritten-From: ebbdc8658e5b0b538f90da5daf743ee93400a230

trusty/debian/rules

index a8b2bb685f4b93258fda35006af604a12940fb4e..d93904467e37cee541e2fbe31a616acb240094a9 100755 (executable)
@@ -41,7 +41,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
        testr init
        set -e && \
                TEMP_REZ=`mktemp -t` && \
-               bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | subunit2pyunit || true ; \
+               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 ;
        testr slowest