[med-svn] [python-multipletau] 05/10: d/control: add python-nose to run tests d/rules: add stanza for tests

Alex Mestiashvili malex-guest at moszumanska.debian.org
Tue Dec 15 17:11:46 UTC 2015


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

malex-guest pushed a commit to branch master
in repository python-multipletau.

commit e727d4f1b51e0b9e07111097e89f55ac3b5ff571
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Tue Dec 15 16:14:30 2015 +0100

    d/control: add python-nose to run tests
    d/rules: add stanza for tests
---
 debian/control | 2 ++
 debian/rules   | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index 28ab0cc..ca23b4a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,13 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all,
+               python-nose,
                python-numpy,
                python-numpydoc,
                python-setuptools,
                python-sphinx,
                python3-all,
+               python3-nose,
                python3-numpy,
                python3-numpydoc,
                python3-setuptools,
diff --git a/debian/rules b/debian/rules
index df09102..ffcb622 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@ override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html
 
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="nosetests -v $(CURDIR)/tests"
+
 override_dh_installdocs:
 	dh_installdocs -ppython-multipletau-doc build/html
 	dh_installdocs -A

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-multipletau.git



More information about the debian-med-commit mailing list