[heaptrack] 01/04: Disable unittests on mips due to crash in a third lib. (Closes: #861826)

Anton Gladky gladk at moszumanska.debian.org
Sun May 7 17:17:45 UTC 2017


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

gladk pushed a commit to branch master
in repository heaptrack.

commit 50e65ecb6abf167ea4d115ceac49520a7697ff9e
Author: Anton Gladky <gladk at debian.org>
Date:   Sun May 7 18:48:03 2017 +0200

    Disable unittests on mips due to crash in a third lib. (Closes: #861826)
---
 debian/rules | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index e36609d..09f994d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,17 @@ BUILDDIR = $(CURDIR)/debian/build
 %:
 	dh $@ --builddirectory=$(BUILDDIR)
 
-# Unittests are explicitly set to "true" due to their failures.
-# The "|| true" should be removed, when #860949 is resolved
+# Unittests are disabled on mips due to build failures
+# It looks like the crash is happening in libunwind,
+# needs to be investigated
+#
+# https://sources.debian.net/src/libunwind/1.1-4.1/debian/rules/#L34
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifneq (mips, $(DEB_BUILD_ARCH))
 override_dh_auto_install:
 	dh_auto_install
 	cd $(BUILDDIR) ; $(MAKE) test ARGS=-VV
+endif # amd64
+endif # nocheck
 
 override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/heaptrack.git



More information about the debian-science-commits mailing list