[med-svn] [odil] 05/08: Fix tests

Julien Lamy lamy-guest at moszumanska.debian.org
Thu Apr 20 09:52:37 UTC 2017


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

lamy-guest pushed a commit to branch master
in repository odil.

commit d3a4db46e9958307beade385ac55baaba0545c67
Author: Julien Lamy <lamy at unistra.fr>
Date:   Wed Apr 19 17:46:26 2017 +0200

    Fix tests
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index bd3a0ca..7439c3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,7 +50,10 @@ override_dh_auto_test-arch-nopy:
 # Run Python tests only on python build
 override_dh_auto_test-arch-py%:
 	ln -s build-py$* build
-	cd build && ../tests/run --no-network -E ".*"
+	cd build && \
+	  ../tests/run --no-network \
+	    --nose nosetests$(shell dpkg --compare-versions $* ge 3 && echo "3") \
+	    -E ".*"
 	rm build
 
 override_dh_auto_test-arch: override_dh_auto_test-arch-nopy $(ALLPY:%=override_dh_auto_test-arch-py%)

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



More information about the debian-med-commit mailing list