[osmium-tool] 01/02: Ignore test failures on problematic architectures.
Bas Couwenberg
sebastic at debian.org
Fri Sep 16 18:35:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository osmium-tool.
commit 8182fc928fc64031ea739e99c1c684409a373fe5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Sep 16 15:00:43 2016 +0200
Ignore test failures on problematic architectures.
---
debian/changelog | 6 ++++++
debian/rules | 10 ++++++++++
2 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2703ad0..e17f4b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+osmium-tool (1.4.0-2) UNRELEASED; urgency=medium
+
+ * Ignore test failures on problematic architectures.
+
+ -- Bas Couwenberg <sebastic at debian.org> Fri, 16 Sep 2016 12:52:16 +0200
+
osmium-tool (1.4.0-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/rules b/debian/rules
index 360e0aa..c71f72c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# Verbose make output
export VERBOSE=1
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
%:
dh $@ --buildsystem cmake \
--parallel
@@ -16,6 +18,14 @@ export VERBOSE=1
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=1
+override_dh_auto_test:
+# Ignore test failures on problematic architectures only
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"mips mipsel"))
+ dh_auto_test || echo "Ignoring test failures"
+else
+ dh_auto_test
+endif
+
override_dh_installchangelogs:
dh_installchangelogs -k CHANGELOG.md
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git
More information about the Pkg-grass-devel
mailing list