[python-dtcwt] 490/497: d/rules: add override to run test suite via nosetests command

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:42 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 6dbf55912e7dc464ce8e073e9a698321c4114189
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jul 21 18:26:22 2015 +0100

    d/rules: add override to run test suite via nosetests command
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6386a75..c2cd034 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,11 @@ override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
 
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	python setup.py nosetests
+endif
+
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	dh_link --package=$(DOCPKG) \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list