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>
This commit is contained in:
Maxime Devos 2022-03-04 13:01:11 +00:00 committed by Maxim Cournoyer
parent 1879d6d810
commit 58d5d83dbb
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -11007,7 +11007,8 @@ (define-public perl-unicode-utf8
(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))