summaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-03-04 13:01:11 +0000
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-11 23:34:48 -0500
commit58d5d83dbb20819d817bdaca1dd098430edaa178 (patch)
treed89acec36085a2774108bac6d309f5b63ecb470e /gnu/packages/perl.scm
parent1879d6d810ca520b1705e20e95571fec95ae43fd (diff)
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>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm3
1 files changed, 2 insertions, 1 deletions
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))