[librasterlite2] 01/02: Skip tests on mips, s390x, sparc, hppa & ppc64, test-driver segfaults.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jul 17 10:36:08 UTC 2015


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

sebastic pushed a commit to branch master
in repository librasterlite2.

commit f8d2510ac9947ba9113a58e2f85ad5aca8e3c363
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jul 17 11:36:22 2015 +0200

    Skip tests on mips, s390x, sparc, hppa & ppc64, test-driver segfaults.
---
 debian/changelog | 6 ++++++
 debian/rules     | 9 +++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37c8b44..45caa8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+librasterlite2 (1.0.0~rc0+devel1-2) UNRELEASED; urgency=medium
+
+  * Skip tests on mips, s390x, sparc, hppa & ppc64, test-driver segfaults.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 17 Jul 2015 11:36:02 +0200
+
 librasterlite2 (1.0.0~rc0+devel1-1) unstable; urgency=medium
 
   * Move from experimental to unstable.
diff --git a/debian/rules b/debian/rules
index 62add8a..8b7351a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,13 @@ BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date
 
 MANPAGES := $(wildcard debian/man/*.*.xml)
 
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+CHECK = check
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"mips s390x sparc hppa ppc64"))
+	CHECK = nocheck
+endif
+
 %:
 	dh $@ \
 		--with autoreconf
@@ -28,7 +35,9 @@ override_dh_auto_build:
 	dh_auto_build
 
 override_dh_auto_test:
+ifeq ($(CHECK), "check")
 	dh_auto_test || echo "Ignoring test failures"
+endif
 
 override_dh_install:
 	find debian/tmp/usr/lib/ -type f -name "*.la" -delete

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



More information about the Pkg-grass-devel mailing list