[Pkg-octave-commit] [octave-ltfat] 02/06: d/rules: Prevent unit testing on armhf and mips

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sun Nov 9 17:05:12 UTC 2014


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

rlaboiss-guest pushed a commit to branch master
in repository octave-ltfat.

commit d1536487f9fc57710df5942229fee77d0a002aaa
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sun Nov 9 14:28:03 2014 -0200

    d/rules: Prevent unit testing on armhf and mips
    
    This avoids FTBFS on theses architectures (see Bug#765545).
    
    Git-Dch: Full
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index d147387..c0d1112 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,16 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH),armhf)
+export DEB_BUILD_OPTIONS = nocheck
+endif
+
+ifeq ($(DEB_HOST_ARCH),mips)
+export DEB_BUILD_OPTIONS = nocheck
+endif
+
 include /usr/share/cdbs/1/class/octave-pkg.mk
 
 OCTPKG_TEST_ENV = xvfb-run

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-ltfat.git



More information about the Pkg-octave-commit mailing list