guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: texinfo, info-reader: Do not run tests when cross-compiling.


From: guix-commits
Subject: 04/04: gnu: texinfo, info-reader: Do not run tests when cross-compiling.
Date: Tue, 6 Dec 2022 09:26:29 -0500 (EST)

civodul pushed a commit to branch version-1.4.0
in repository guix.

commit fe563a87ad7c171448c56ed6b628c8e32a52c94a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Dec 6 15:21:21 2022 +0100

    gnu: texinfo, info-reader: Do not run tests when cross-compiling.
    
    Fixes a regression introduced in
    a3264f31df9774ea514e18ed8e7b6bcb44061edc.
    
    Reported by Mathieu Othacehe <othacehe@gnu.org>.
    
    * gnu/packages/texinfo.scm (texinfo)[arguments]: Change #:tests? to not
    run tests when cross-compiling.
---
 gnu/packages/texinfo.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 25498ae36e..7108d1e067 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -75,7 +75,8 @@
             %standard-phases)
 
        ;; XXX: Work around <https://issues.guix.gnu.org/59616>.
-       #:tests? ,(not (hurd-target?))))
+       #:tests? ,(and (not (hurd-target?))
+                      (not (%current-target-system)))))
     (inputs (list ncurses perl))
     ;; When cross-compiling, texinfo will build some of its own binaries with
     ;; the native compiler. This means ncurses is needed both in both inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]