Blacklist taskflow.tests.test_examples.ExamplesTestCase.test_99_bottles, see https://bugs.launchpad.net/taskflow/+bug/1479958

This commit is contained in:
Thomas Goirand
2015-07-30 20:11:28 +00:00
parent c18f78fc6b
commit 8719d8f401
2 changed files with 13 additions and 6 deletions

3
debian/changelog vendored
View File

@@ -3,6 +3,9 @@ python-taskflow (1.17.0-1) experimental; urgency=medium
* New upstream release.
* Fixed (build-)depends for this release.
* Disabled unit test patch.
* Black list a unit test:
taskflow.tests.test_examples.ExamplesTestCase.test_99_bottles
See LP bug: https://bugs.launchpad.net/taskflow/+bug/1479958
-- Thomas Goirand <zigo@debian.org> Thu, 30 Jul 2015 15:21:31 +0000

16
debian/rules vendored
View File

@@ -14,12 +14,16 @@ override_dh_clean:
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
rm -rf .testrepository
testr init
set -e ; \
@echo "===> Running tests"
set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \
PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
rm -rf .testrepository ; \
testr-python$$PYMAJOR init ; \
TEMP_REZ=`mktemp -t` ; \
PYTHONPATH=. testr run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
testr slowest ; \
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'taskflow\.tests\.(?!.*test_examples\.ExamplesTestCase\.test_99_bottles.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ
rm -f $$TEMP_REZ ; \
testr-python$$PYMAJOR slowest ; \
done
endif