Added PYTHON_PATH=. when running unit tests (Closes: #786509).

This commit is contained in:
Thomas Goirand
2015-05-26 10:53:08 +02:00
parent 38219cdc80
commit 45cc59d242
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -6,6 +6,7 @@ python-pygit2 (0.22.0-1) unstable; urgency=medium
* Ran wrap-and-sort.
* Removed version in Build-Depends on python{3,}-all-dev.
* Overrides dh_auto_clean to allow easier gbp builds.
* Added PYTHON_PATH=. when running unit tests (Closes: #786509).
-- Thomas Goirand <zigo@debian.org> Tue, 26 May 2015 10:39:26 +0200

2
debian/rules vendored
View File

@@ -27,7 +27,7 @@ override_dh_install:
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
python$$pyvers setup.py test ; \
PYTHON_PATH=. python$$pyvers setup.py test ; \
done
endif