Commit b48a6d5d authored by Andreas Tille's avatar Andreas Tille

Ignore errors in test suite for big endian architectures

parent d9eafbcb
probabel (0.4.5-5) UNRELEASED; urgency=medium
* Ignore errors in test suite for big endian architectures
Closes: #865191
-- Andreas Tille <tille@debian.org> Mon, 18 Sep 2017 12:54:20 +0200
probabel (0.4.5-4) unstable; urgency=medium
* debhelper 10
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment