Only run tests within gnocchiclient/tests/unit (ie: no functional tests).
This commit is contained in:
parent
dfd2b771b8
commit
57329bec4d
|
@ -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
|
||||
|
||||
|
|
|
@ -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 ; \
|
||||
|
|
Loading…
Reference in New Issue