diff --git a/debian/changelog b/debian/changelog index f07c74f..91e0520 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-castellan (0.2.1-2) unstable; urgency=medium + + * Avoid functional test listing with testr. + + -- Thomas Goirand Wed, 16 Sep 2015 17:02:18 +0200 + python-castellan (0.2.1-1) unstable; urgency=medium * Initial release. (Closes: #XXXXXX) diff --git a/debian/rules b/debian/rules index c1a5f15..dfdcd39 100755 --- a/debian/rules +++ b/debian/rules @@ -35,7 +35,7 @@ rm -rf .testrepository ; \ testr-python$$PYMAJOR init ; \ TEMP_REZ=`mktemp -t` ; \ - PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'castellan\.tests\.unit.*' | tee $$TEMP_REZ | subunit2pyunit ; \ + OS_TEST_PATH=castellan/tests/unit PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'castellan\.tests\.unit.*' | tee $$TEMP_REZ | subunit2pyunit ; \ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $$TEMP_REZ ; \ testr-python$$PYMAJOR slowest ; \