[med-svn] [python-pysam] 01/01: Add nosetest build time testing (but zero tests executed - ask at debian-python list)

Andreas Tille tille at debian.org
Wed Jul 15 12:15:02 UTC 2015


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

tille pushed a commit to branch master
in repository python-pysam.

commit a86a85612789a6a7a60fe6b1ae4b8720dfffa638
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jul 15 14:09:48 2015 +0200

    Add nosetest build time testing (but zero tests executed - ask at debian-python list)
---
 debian/control | 4 +++-
 debian/rules   | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 0bca2d4..6c8069a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,9 +12,11 @@ Build-Depends: debhelper (>= 9),
 	       python-all-dev,
 	       python-setuptools,
 	       cython,
+	       python-nose,
 	       python3-all-dev,
 	       python3-setuptools,
-	       cython3
+	       cython3,
+	       python3-nose
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/python-pysam.git
 Vcs-Git: git://anonscm.debian.org/debian-med/python-pysam.git
diff --git a/debian/rules b/debian/rules
index 5f45fc3..2e5d279 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,5 +18,8 @@ override_dh_auto_clean:
 	dh_auto_clean
 	$(MAKE) -C tests/pysam_data clean
 
+override_dh_auto_test:
+	dh_auto_test -- -s custom --test-args='{interpreter} setup.py nosetests'
+
 get-orig-source:
 	uscan --verbose --force-download --repack --compression xz

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



More information about the debian-med-commit mailing list