[python-cligj] 02/04: Set PYTHONPATH for tests.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Nov 20 22:14:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-cligj.
commit de3f8882b8e6ca79fe4bba826bd237f4640c1163
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Nov 20 22:19:42 2015 +0100
Set PYTHONPATH for tests.
---
debian/changelog | 2 ++
debian/rules | 3 +++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 69ffe78..ada48ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-cligj (0.3.0-2) UNRELEASED; urgency=medium
* Team upload.
* Update Vcs-Browser URL to use HTTPS.
+ * Set PYTHONPATH for tests.
+ (closes: #805161)
-- Bas Couwenberg <sebastic at debian.org> Fri, 20 Nov 2015 20:30:26 +0100
diff --git a/debian/rules b/debian/rules
index 92440eb..7adb2a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,7 @@ export PYBUILD_NAME=cligj
%:
dh $@ --with python2,python3 --buildsystem pybuild
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="cd {build_dir}; PYTHONPATH=. {interpreter} -m unittest discover -v" dh_auto_test || echo "Ignoring test failures"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-cligj.git
More information about the Pkg-grass-devel
mailing list