[pysal] 01/02: Ignore test failures on i386, package not normally built there. (closes: #860694)
Bas Couwenberg
sebastic at debian.org
Wed Apr 19 09:29:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pysal.
commit c4e56f3fce68a314eefc0a559e00591ebeabd441
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Apr 19 11:19:26 2017 +0200
Ignore test failures on i386, package not normally built there. (closes: #860694)
---
debian/changelog | 8 ++++++++
debian/rules | 10 ++++++++++
2 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 384d9d3..c6dcd5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pysal (1.13.0-4) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Ignore test failures on i386, package not normally built there.
+ (closes: #860694)
+
+ -- Bas Couwenberg <sebastic at debian.org> Wed, 19 Apr 2017 11:18:51 +0200
+
pysal (1.13.0-3) unstable; urgency=medium
* Team upload.
diff --git a/debian/rules b/debian/rules
index 4f02776..a9268d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
export PYBUILD_NAME=pysal
export PYBUILD_TEST_NOSE=1
export PYBUILD_TEST_ARGS=--exclude test_DistanceBand_arc --exclude-dir=pysal/contrib --exclude-dir pysal/network
@@ -8,6 +10,14 @@ export PYBUILD_TEST_ARGS=--exclude test_DistanceBand_arc --exclude-dir=pysal/co
%:
dh $@ --with python2,python3 --buildsystem pybuild
+override_dh_auto_test:
+# Ignore test failures on problematic architectures only
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"i386"))
+ dh_auto_test || echo "Ignoring test failures"
+else
+ dh_auto_test
+endif
+
override_dh_python2:
dh_python2 -ppython-pysal
dh_numpy -ppython-pysal
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pysal.git
More information about the Pkg-grass-devel
mailing list