guix-commits
[Top][All Lists]
Advanced

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

08/16: gnu: perl-unicode-utf8: Run tests conditionally.


From: guix-commits
Subject: 08/16: gnu: perl-unicode-utf8: Run tests conditionally.
Date: Fri, 11 Mar 2022 23:43:25 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 58d5d83dbb20819d817bdaca1dd098430edaa178
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:11 2022 +0000

    gnu: perl-unicode-utf8: Run tests conditionally.
    
    * gnu/packages/perl.scm (perl-unicode-utf8)[arguments]<#:tests?>:
      Set to #false when cross-compiling.
    
    Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 gnu/packages/perl.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d6ca055147..ba65cc6e6d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11007,7 +11007,8 @@ defined by Annex #11 is used to determine breaking 
positions.")
     (build-system perl-build-system)
     ;; FIXME: Tests fail on 32-bit architectures:
     ;; <https://rt.cpan.org/Public/Bug/Display.html?id=127007>.
-    (arguments `(#:tests? ,(target-64bit?)))
+    (arguments `(#:tests? ,(and (not (%current-target-system))
+                                (target-64bit?))))
     (native-inputs
      (list perl-test-fatal perl-test-leaktrace perl-variable-magic
            perl-test-pod))



reply via email to

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