From: Thomas Goirand Date: Wed, 2 Apr 2014 06:17:58 +0000 (+0800) Subject: Fixed subunit stats output X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7f276f1b1417f3dbc9e6f4b338e4bba7b71138f9;p=openstack-build%2Fceilometer-build.git Fixed subunit stats output Change-Id: Id633cca755c52be5e3b99fbdf6d70e2a9aabb662 Rewritten-From: ebbdc8658e5b0b538f90da5daf743ee93400a230 --- diff --git a/xenial/debian/rules b/xenial/debian/rules index a8b2bb6..d939044 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -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