export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
%:
- dh $@ --with python2,systemd,sphinxdoc
+ dh $@ --with apache2,python2,systemd,sphinxdoc
override_dh_clean:
dh_clean
override_dh_install:
rm -rf $(CURDIR)/debian/tmp
python2.7 setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp
+ rm -rf $(CURDIR)/debian/tmp/usr/etc
+
dh_install --fail-missing
# Manage ceilometer.conf
testr init
set -e ; \
TEMP_REZ=`mktemp -t` ; \
- bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!(.*test_bin.*|.*functional.*|.*gabbi\.test_gabbi_prefix.*))' | tee $$TEMP_REZ | subunit2pyunit ; \
+ bash -x ./debian/setup-test-env-mongodb.sh testr run --subunit --parallel 'tests\.(?!(.*test_bin.*|.*functional.*|.*gabbi\.test_gabbi_prefix.*|.*meter\.test_notifications\.TestMeterProcessing\.test_fallback_meter_path.*|.*agent\.test_manager\.TestRunTasks\.test_batching_polled_samples_false.*))' | tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ ;
testr slowest