[pyosmium] 04/05: Use custom pybuild test.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Apr 2 19:53:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pyosmium.

commit 88682de7e2334d40a5112ddad64c6de670988feb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Apr 2 21:11:11 2015 +0200

    Use custom pybuild test.
---
 debian/control | 2 ++
 debian/rules   | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index e6bcb9a..86d508d 100644
--- a/debian/control
+++ b/debian/control
@@ -18,8 +18,10 @@ Build-Depends: debhelper (>= 9),
                libsparsehash-dev,
                python-all-dev,
                python-setuptools,
+               python-nose,
                python3-all-dev,
                python3-setuptools,
+               python3-nose,
                zlib1g-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/pyosmium.git/
diff --git a/debian/rules b/debian/rules
index 6f469c1..f29ede8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ export PYBUILD_NAME=pyosmium
 	    --with python2,python3
 	    --parallel
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd test && {interpreter} run_tests.py" dh_auto_test
+
 get-orig-source:
 	. debian/get-orig-source
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyosmium.git



More information about the Pkg-grass-devel mailing list