[med-svn] [falconkit] 03/03: Set up test suite
Afif Elghraoui
afif at moszumanska.debian.org
Wed Mar 9 07:58:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository falconkit.
commit 676072c08eee20e86cfa8c46a974f938d3d1a921
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Tue Mar 8 23:58:38 2016 -0800
Set up test suite
---
debian/control | 2 ++
debian/rules | 4 ++++
debian/tests/control | 2 +-
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 3d295be..26112bd 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,8 @@ Build-Depends:
python-all-dev,
python-setuptools,
python-networkx,
+# Test-Depends:
+ python-nose,
Standards-Version: 3.9.7
Homepage: https://github.com/PacificBiosciences/FALCON
Vcs-Git: https://anonscm.debian.org/git/debian-med/falconkit.git
diff --git a/debian/rules b/debian/rules
index 7eed105..8e37bc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,10 @@ endef
%:
LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="nosetests -v test/" dh_auto_test
+
override_dh_install:
dh_install
rename 's/\.py//' $(CURDIR)/debian/falconkit/usr/bin/*
diff --git a/debian/tests/control b/debian/tests/control
index 723fdfd..980f700 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,7 @@
Test-Command:
cp -r test test_data $ADTTMP && cd $ADTTMP && nosetests -v test/
Depends:
- python-falconkit,
+ @,
python-nose,
Restrictions:
allow-stderr,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/falconkit.git
More information about the debian-med-commit
mailing list