[jpy] 02/02: Ignore tests on mips, mipsel; they fail intermittently due to low mem
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jul 28 10:57:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository jpy.
commit 117c03004bc970aa4d025d9b2b6fb3d9cd8027f5
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Wed Jul 5 09:38:59 2017 +0100
Ignore tests on mips, mipsel; they fail intermittently due to low mem
---
debian/changelog | 6 ++++++
debian/rules | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f54d390..e8dd3f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jpy (0.8-7) unstable; urgency=medium
+
+ * Ignore tests on mips, mipsel; they fail intermittently due to low mem
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 05 Jul 2017 09:38:14 +0100
+
jpy (0.8-6) unstable; urgency=medium
* Update watch file
diff --git a/debian/rules b/debian/rules
index 89c56f3..beead9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,12 @@ export DH_VERBOSE=1
PYVERS:=$(shell pyversions -r)
PY3VERS:=$(shell py3versions -r)
+NO_TEST_ARCH:= mips mipsel
+
+DO_TEST:=true
+ifneq (,$(findstring $(shell dpkg --print-architecture),$(NO_TEST_ARCH)))
+ DO_TEST:=false
+endif
%:
dh $@ --with python2,python3
@@ -16,7 +22,7 @@ override_dh_auto_build: $(PYTHON3:%=build-python%)
dh_auto_test:
for p in $(PYVERS) $(PY3VERS) ; do \
- $$p ./setup.py test ; \
+ $(DO_TEST) && $$p ./setup.py test ; \
done
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/jpy.git
More information about the debian-science-commits
mailing list