[med-svn] [python-biom-format] 05/05: Try hard to run all tests but failed

Andreas Tille tille at debian.org
Thu Feb 11 16:02:31 UTC 2016


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

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

commit f3bf690b068e7d276545e670a2415a882c01d4ce
Author: Andreas Tille <tille at debian.org>
Date:   Thu Feb 11 16:22:45 2016 +0100

    Try hard to run all tests but failed
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8e744fb..3c99ce6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,7 @@ version := $(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut
 bindir  := $(CURDIR)/debian/$(pkg)/usr/bin
 mandir  := $(CURDIR)/debian/$(pkg)/usr/share/man/man1
 
-#UVER := $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Version:/{print $$2;}' | sed -e 's,-[^-]*$$,,g')
-#CYTHONVER := $(shell dpkg -l cython | awk '/^ii/{print $$3;}' || echo 0)
-#MIN_CYTHONVER := 0.17~beta1-2
-#NO_CYTHON := $(shell if dpkg --compare-versions $(CYTHONVER) lt $(MIN_CYTHONVER) ; then echo 0 ; else echo 1 ; fi)
+export PYBUILD_NAME=biom-format
 
 export PYBUILD_TEST_NOSE = 1
 
@@ -45,5 +42,11 @@ override_dh_install:
 
 override_dh_auto_test:
 	$(pyrun) 'cp -a examples {build_dir}'
+	$(pyrun) 'cp -a tests/test_data {build_dir}/tests'
 	dh_auto_test
+	#dh_auto_test -- --system=custom --test-args="nosetests -v $(CURDIR)/tests"
+	#LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; \
+	#	{interpreter} -m "nose" --cover-package=biom-format'
+        #dh_auto_test -- -s custom --test-args='{interpreter} setup.py nosetests --attr !known_failing'
 	$(pyrun) 'rm -rf {build_dir}/examples'
+

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



More information about the debian-med-commit mailing list