[med-svn] [pbbarcode] 02/03: Run unit tests at build-time.
Afif Elghraoui
afif-guest at moszumanska.debian.org
Fri Dec 18 08:36:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository pbbarcode.
commit 139b5d423a3a1b2f1f726cfe2a5ef4482c78087d
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Fri Dec 18 00:35:25 2015 -0800
Run unit tests at build-time.
---
debian/control | 1 -
debian/rules | 5 +++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 6b27a24..0c5a699 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,6 @@ Build-Depends:
python-h5py (>= 1.3.0),
# Test-Depends:
python-nose,
- python-cram,
python-pbh5tools,
Standards-Version: 3.9.6
Homepage: https://github.com/PacificBiosciences/pbbarcode
diff --git a/debian/rules b/debian/rules
index 8ebf392..3ee9c45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,8 @@ PYBUILD_NAME = pbbarcode
%:
LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="find tests -name '*.py' | xargs nosetests -v" \
+ dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbbarcode.git
More information about the debian-med-commit
mailing list