[med-svn] [python-pysam] 06/08: Tests are triggered by nosetest
Andreas Tille
tille at debian.org
Tue Jul 21 09:49:09 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 8c9a6f5c81861133e2a6c0944bea09a686564069
Author: Andreas Tille <tille at debian.org>
Date: Mon Jul 20 20:50:36 2015 +0200
Tests are triggered by nosetest
---
debian/rules | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 61bc5be..4315e30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,10 +19,20 @@ override_dh_auto_clean:
$(MAKE) -C tests/pysam_data clean
find . -name "*.pyc" -delete
find . -name "*.pyxbldc" -delete
+ find . -name "tmp_*" -delete
+ find . -name "*.bai*" -delete
+ find . -name "*.cram*" -delete
+ rm -rf tests/pysam_test_work \
+ tests/example_htslib.gtf.gz.tbi \
+ tests/log.txt \
+ tests/test.bam \
+ tests/_compile_test.c \
+ pysam/calignmentfile.c \
+ pysam/cbcf.c
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="cd tests && {interpreter} pysam_test.py" dh_auto_test || \
+ PYBUILD_TEST_ARGS="cd tests && make -C pysam_data && if [ {version} = 2.7 ] ; then echo ""This should be 2.7 / python2.7: {version} / {interpreter}"" ; nosetests -s -v ; else echo ""This should be 3 / python3.4: {version} / {interpreter}"" ; nosetests3 -s -v ; fi" dh_auto_test || \
echo "Ignoring test failures"
get-orig-source:
--
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