gnu: m4: Disable tests when cross-compiling.
Reported by Manolis Ragkousis <manolis837@gmail.com> at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00161.html>. * gnu/packages/m4.scm (m4)[arguments]: Change #:tests? condition.
This commit is contained in:
parent
6189fce529
commit
f6154eb59b
@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -36,11 +36,10 @@
|
|||||||
"0w0da1chh12mczxa5lnwzjk9czi3dq6gnnndbpa6w4rj76b1yklf"))))
|
"0w0da1chh12mczxa5lnwzjk9czi3dq6gnnndbpa6w4rj76b1yklf"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: Disable tests on those platforms with know issues.
|
`(;; Explicitly disable tests when cross-compiling, otherwise 'make check'
|
||||||
`(#:tests? ,(not (member (%current-system)
|
;; proceeds and fails, unsurprisingly.
|
||||||
'("x86_64-darwin"
|
#:tests? ,(not (%current-target-system))
|
||||||
"i686-cygwin"
|
|
||||||
"i686-sunos")))
|
|
||||||
#:phases (alist-cons-before
|
#:phases (alist-cons-before
|
||||||
'check 'pre-check
|
'check 'pre-check
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
Loading…
Reference in New Issue
Block a user