X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=xenial%2Fdebian%2Frules;h=0af17a95eb079f22b4c273fc93ef3201fe6a929e;hb=bbe28eba94b6eff0e9e24fb894e66bf0a7edb481;hp=b17160a3d2495829bb3d585ca39c399c754c0bba;hpb=b7ba3250cedf69a6f35c3a4411bf304a966fa0c7;p=openstack-build%2Fceilometer-build.git diff --git a/xenial/debian/rules b/xenial/debian/rules index b17160a..0af17a9 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -27,7 +27,7 @@ override_dh_install: --namespace keystonemiddleware.auth_token sed -i 's|[# \t]*auth_protocol[\t ]*=.*|auth_protocol=http|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf chmod 0644 $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf - sed -i 's|#connection=.*|connection=mongodb://localhost:27017/ceilometer|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf + sed -i 's|#connection[ \t]*=.*|connection=mongodb://localhost:27017/ceilometer|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf override_dh_auto_build: dh_auto_build @@ -46,10 +46,10 @@ override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) rm -rf .testrepository testr init - set -e && \ - TEMP_REZ=`mktemp -t` && \ - bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ - cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \ + set -e ; \ + TEMP_REZ=`mktemp -t` ; \ + bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit ; \ + cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $$TEMP_REZ ; testr slowest endif