Set HOME=$(CURDIR) when running unit tests.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -2,6 +2,7 @@ python-fuelclient (9.0.0~0+2016.03.21.git.3130252902-1) experimental; urgency=me
|
||||
|
||||
* New upstream release based on commit sha256: 3130252902 from: 2016-03-21.
|
||||
* Fixed (build-)depends for this releaes.
|
||||
* Set HOME=$(CURDIR) when running unit tests.
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Thu, 31 Mar 2016 21:37:45 +0200
|
||||
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@@ -35,7 +35,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 'fuelclient\.tests\.unit\.(?!.*common\.test_config\.TestSettings\.test_deprecated_option_produces_warning.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||
PYTHONPATH=$(CURDIR) HOME=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'fuelclient\.tests\.unit\.(?!.*common\.test_config\.TestSettings\.test_deprecated_option_produces_warning.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
|
||||
rm -f $$TEMP_REZ ; \
|
||||
testr-python$$PYMAJOR slowest ; \
|
||||
|
||||
Reference in New Issue
Block a user