[Pkg-privacy-commits] [libotr] 01/02: Really disable the test suite for architectures on which it is not robust.

Intrigeri intrigeri at moszumanska.debian.org
Thu Jan 14 15:26:14 UTC 2016


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

intrigeri pushed a commit to branch master
in repository libotr.

commit 67c00f6d224f120aa5e67f5af3be72c34976261a
Author: intrigeri <intrigeri at debian.org>
Date:   Thu Jan 14 15:19:36 2016 +0000

    Really disable the test suite for architectures on which it is not robust.
---
 debian/rules | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index e14af5a..9f82ceb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+NO_MAKE_CHECK_ARCHS := hppa mips mipsel powerpc ppc64el
+
 %:
 	dh $@ --with autoreconf
 
@@ -14,16 +16,11 @@ override_dh_auto_configure:
 override_dh_install:
 	dh_install --fail-missing -X.la
 
+# Enable the test suite only for architectures where it is reliable
 override_dh_auto_test:
+ifeq (,$(filter $(DEB_BUILD_ARCH),$(NO_MAKE_CHECK_ARCHS)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	find tests -name \*.sh -exec chmod +x {} \;
 	dh_auto_test
-
-override_dh_auto_test-hppa:
-
-override_dh_auto_test-mips:
-
-override_dh_auto_test-mipsel:
-
-override_dh_auto_test-powerpc:
-
-override_dh_auto_test-ppc64el:
+endif
+endif

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



More information about the Pkg-privacy-commits mailing list