[Pkg-openldap-devel] [openldap] 02/07: Disable test060-mt-hot on ppc64el (#866122)

Ryan Tandy rtandy-guest at moszumanska.debian.org
Fri Aug 11 02:05:46 UTC 2017


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

rtandy-guest pushed a commit to branch stretch
in repository openldap.

commit 537ecd19fa87acc7660707b24fc8dd905778e246
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Sun Jul 16 10:32:25 2017 -0700

    Disable test060-mt-hot on ppc64el (#866122)
---
 debian/changelog | 2 ++
 debian/rules     | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7cff622..eaa71e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ openldap (2.4.44+dfsg-5+deb9u1) UNRELEASED; urgency=medium
 
   * Relax the dependency of libldap-2.4-2 on libldap-common to also permit 
     later versions. (Closes: #860774)
+  * Disable test060-mt-hot on ppc64el temporarily to avoid failing tests until 
+    the underlying kernel bug #866122 is fixed.
 
  -- Ryan Tandy <ryan at nardis.ca>  Tue, 08 Aug 2017 18:19:08 -0700
 
diff --git a/debian/rules b/debian/rules
index 3d27741..9c0c7fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ export RESOLV_MULTI = off
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 CONFIG		= $(shell grep -v "^\#" debian/configure.options)
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
@@ -108,6 +109,13 @@ ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 	$(MAKE) -C contrib/slapd-modules/passwd/sha2 CC=$(CC)
 endif
 
+override_dh_auto_test:
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+	# Disable test060-mt-host on ppc64el until #866122 is fixed.
+	rm -f tests/scripts/test060-mt-hot
+endif
+	dh_auto_test
+
 override_dh_auto_install:
 	dh_auto_install -- $(MAKEVARS)
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)

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



More information about the Pkg-openldap-devel mailing list