[med-svn] [probabel] 01/03: Ignore errors in test suite for big endian architectures

Andreas Tille tille at debian.org
Mon Sep 18 11:20:04 UTC 2017


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

tille pushed a commit to branch master
in repository probabel.

commit b48a6d5db021fb16ad61056499eff9839375842e
Author: Andreas Tille <tille at debian.org>
Date:   Mon Sep 18 12:55:06 2017 +0200

    Ignore errors in test suite for big endian architectures
---
 debian/changelog |  7 +++++++
 debian/rules     | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dcd95cb..480abea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+probabel (0.4.5-5) UNRELEASED; urgency=medium
+
+  * Ignore errors in test suite for big endian architectures
+    Closes: #865191
+
+ -- Andreas Tille <tille at debian.org>  Mon, 18 Sep 2017 12:54:20 +0200
+
 probabel (0.4.5-4) unstable; urgency=medium
 
   * debhelper 10
diff --git a/debian/rules b/debian/rules
index 9ff057d..99b2126 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 # DH_VERBOSE := 1
 
+BUILDARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 include /usr/share/dpkg/default.mk
@@ -39,3 +41,14 @@ override_dh_install-arch:
 	dh_install -a --fail-missing
 	rm debian/$(DEB_SOURCE)/usr/bin/probabel.pl
 	mv debian/$(DEB_SOURCE)/etc/probabel_config.cfg.example debian/$(DEB_SOURCE)/etc/probabel_config.cfg
+
+ifeq ($(BUILDARCH),$(filter $(BUILDARCH), mips s390x hppa powerpc ppc64 sparc64))
+# On big endian architectures the tests are failing due to
+# some binary format output that is compared with a file that
+# was created on a low endian architecture and those files
+# are dependent from the architecture (with no influence on
+# the final result.  See
+#   https://github.com/GenABEL-Project/ProbABEL/issues/45
+override_dh_auto_test:
+	dh_auto_test || true
+endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/probabel.git



More information about the debian-med-commit mailing list