Added PYTHON_PATH=. when running unit tests (Closes: #786509).
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -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
2
debian/rules
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user