[fiona] 01/01: Override dh_auto_test to ignore test failures on Hurd & kFreeBSD.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon May 16 00:08:26 UTC 2016


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

sebastic pushed a commit to branch master
in repository fiona.

commit 2c998deb1f5898e4ebb4ee352e0bba18fceabdd9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon May 16 02:05:47 2016 +0200

    Override dh_auto_test to ignore test failures on Hurd & kFreeBSD.
---
 debian/changelog | 7 +++++++
 debian/rules     | 8 ++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fe5c33b..9f87c61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fiona (1.6.4-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Override dh_auto_test to ignore test failures on Hurd & kFreeBSD.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 16 May 2016 02:05:16 +0200
+
 fiona (1.6.4-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 814581b..5782907 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,14 @@ override_dh_clean:
 	dh_clean
 	rm -rf fiona/*.so gdal-config.txt fiona/*.c VERSION.txt fiona/*.cpp
 
+override_dh_auto_test:
+# Ignore test failures on problematic architectures only
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"hurd-i386 kfreebsd-amd64 kfreebsd-i386"))
+	dh_auto_test || echo "Ignoring test failures"
+else
+	dh_auto_test
+endif
+
 override_dh_install:
 	dh_install
 	rm -rf debian/python-fiona/usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git



More information about the Pkg-grass-devel mailing list