Only run tests within gnocchiclient/tests/unit (ie: no functional tests).

This commit is contained in:
Thomas Goirand 2016-01-27 10:44:55 +00:00
parent dfd2b771b8
commit 57329bec4d
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
python-gnocchiclient (2.1.0-1) experimental; urgency=medium
* New upstream release.
* Only run tests within gnocchiclient/tests/unit (ie: no functional tests).
-- Thomas Goirand <zigo@debian.org> Thu, 21 Jan 2016 16:42:41 +0000

2
debian/rules vendored
View File

@ -30,7 +30,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
rm -rf .testrepository ; \
testr-python$$PYMAJOR init ; \
TEMP_REZ=`mktemp -t` ; \
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'gnocchiclient\.tests\.unit.*'| tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ ; \
testr-python$$PYMAJOR slowest ; \