[nfft] 02/13: Disable testsuite for selected architectures due to potential timeout.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Dec 12 14:24:59 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository nfft.

commit d9fcdcbcb6e63d64b7305cc9d6632ce2445f955c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Dec 9 10:37:00 2015 +0000

    Disable testsuite for selected architectures due to potential timeout.
---
 debian/rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index ce91634..d590b89 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,8 @@ COMMON_BUILD_OPTIONS = \
 	--enable-openmp
 
 # Environment information.
-DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 # Detect whether the long-double version of FFTW is available for the host
 # architecture. If not, the long-double build of NFFT will be discarded.
@@ -92,8 +93,10 @@ override_dh_installdocs-indep:
 	dh_installdocs --indep $(CURDIR)/build-indep/doc/html
 	dh_doxygen --indep
 
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test-arch:
+ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
+# Disable testsuite for {armel,mips} due to potential timeout.
+ifeq (,$(filter armel mips, $(DEB_HOST_ARCH)))
 	dh_auto_test --builddirectory=build-nfftf
 	dh_auto_test --builddirectory=build-nfft
 # The testsuite for the long-double precision is disabled due to a bug
@@ -102,3 +105,4 @@ override_dh_auto_test-arch:
 #	dh_auto_test --builddirectory=build-nfftl
 #endif
 endif
+endif

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



More information about the debian-science-commits mailing list