[freemat] 03/03: Skip build-time tests on s390x
Graham Inggs
ginggs at moszumanska.debian.org
Tue Jun 6 19:12:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
ginggs pushed a commit to branch master
in repository freemat.
commit e8c9c79caf72f14713ba7f97c10df290be598ea9
Author: Graham Inggs <ginggs at debian.org>
Date: Tue Jun 6 20:58:44 2017 +0200
Skip build-time tests on s390x
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index ce71d42..d97ac08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
BUILDDIR = $(CURDIR)/debian/build
export HOME=$(BUILDDIR)
+export DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
%:
dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
@@ -41,5 +42,7 @@ override_dh_install-arch:
override_dh_auto_test:
# Run FreeMat once in install mode to set toolbox path
$(BUILDDIR)/src/FreeMat -i $(CURDIR)
+ifeq (,$(filter $(DEB_HOST_ARCH),s390x))
# Run test suite in virtual framebuffer, excluding JIT tests
xvfb-run dh_auto_test --max-parallel=1 -- ARGS+="-E jit"
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freemat.git
More information about the debian-science-commits
mailing list