X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Frules;h=a3a99ccab6c553cfe308dfd106b04b582c714b37;hb=1718b507e9ffce450567848c96b0fedf7da24171;hp=ec4ccc6c77cd565fced1b4bc80650ef5d5c9da1a;hpb=d5f43225130bd8300f496024f964f788ae50b835;p=openstack-build%2Fceilometer-build.git diff --git a/trusty/debian/rules b/trusty/debian/rules index ec4ccc6..a3a99cc 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -34,9 +34,12 @@ override_dh_auto_clean: rm -rf debian/ceilometer-common.postinst find . -iname '*.pyc' -delete -ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: - bash -x ./setup-test-env.sh python setup.py testr --slowest +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) + set -e && TEMP_REZ=`mktemp -t` && \ + bash -x ./setup-test-env.sh python setup.py testr --slowest --testr-args='--subunit --omit=test_bin.py ' | 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 endif