[med-svn] [pbgenomicconsensus] 05/06: Set up build-time tests

Afif Elghraoui afif-guest at moszumanska.debian.org
Tue Oct 13 07:11:43 UTC 2015


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

afif-guest pushed a commit to branch master
in repository pbgenomicconsensus.

commit ea39960af5b5f96e8687a1a230115e0357b4e58a
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Tue Oct 13 00:06:02 2015 -0700

    Set up build-time tests
---
 debian/control | 3 +++
 debian/rules   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index 29a84cd..4fefa80 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,9 @@ Uploaders: Afif Elghraoui <afif at ghraoui.name>
 Build-Depends: debhelper (>= 9),
 	       dh-python,
 	       python-docutils,
+	       python-pkg-resources,
+	       python-nose,
+	       python-cram,
 	       python-all,
 	       python-setuptools,
 	       python-pbconsensuscore,
diff --git a/debian/rules b/debian/rules
index bd4b9ed..6bb7597 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@ MANDIR=$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/
 %:
 	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_auto_test:
+	PYTHONPATH=$(CURDIR) PATH=$(CURDIR)/bin:$$PATH $(MAKE) tests
+
 override_dh_install:
 	dh_install
 	mkdir -p $(MANDIR)/man5 $(MANDIR)/man1 $(MANDIR)/man7

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



More information about the debian-med-commit mailing list