[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: m4: Disable tests when cross-compiling.
From: |
Ludovic Courtès |
Subject: |
02/02: gnu: m4: Disable tests when cross-compiling. |
Date: |
Fri, 15 May 2015 13:06:43 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit f6154eb59b3761f018887d1d53c8fee15927dd17
Author: Ludovic Courtès <address@hidden>
Date: Fri May 15 15:06:18 2015 +0200
gnu: m4: Disable tests when cross-compiling.
Reported by Manolis Ragkousis <address@hidden>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00161.html>.
* gnu/packages/m4.scm (m4)[arguments]: Change #:tests? condition.
---
gnu/packages/m4.scm | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/m4.scm b/gnu/packages/m4.scm
index b3b3a00..d1ba928 100644
--- a/gnu/packages/m4.scm
+++ b/gnu/packages/m4.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -36,11 +36,10 @@
"0w0da1chh12mczxa5lnwzjk9czi3dq6gnnndbpa6w4rj76b1yklf"))))
(build-system gnu-build-system)
(arguments
- ;; XXX: Disable tests on those platforms with know issues.
- `(#:tests? ,(not (member (%current-system)
- '("x86_64-darwin"
- "i686-cygwin"
- "i686-sunos")))
+ `(;; Explicitly disable tests when cross-compiling, otherwise 'make check'
+ ;; proceeds and fails, unsurprisingly.
+ #:tests? ,(not (%current-target-system))
+
#:phases (alist-cons-before
'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)