[amp] 10/18: New the tests are being called correctly.

Muammar El Khatib muammar at moszumanska.debian.org
Mon Jul 31 19:59:40 UTC 2017


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

muammar pushed a commit to branch master
in repository amp.

commit 5571fbf468c3b807d3e29ca8cbacb65fc298b888
Author: Muammar El Khatib <muammarelkhatib at gmail.com>
Date:   Mon Jul 31 10:37:42 2017 -0400

    New the tests are being called correctly.
---
 debian/rules | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 756d659..fb03404 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,11 +31,12 @@ override_dh_auto_test:
 	cd $(CURDIR)/amp/; \
 	make python2
 	cd $(CURDIR)/amp/; \
-	make py2tests
-	cd $(CURDIR)/amp/; \
 	make python3
-	cd $(CURDIR)/amp/; \
-	make py3tests
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	set -ex; for python in $(shell pyversions -r; py3versions -r) ; do \
+		$$python /usr/bin/nosetests -v; \
+	done
+endif
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/amp.git



More information about the debian-science-commits mailing list