me
/
guix
Archived
1
0
Fork 0

gnu: grub: Don't run tests when cross compiling.

* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
master
Efraim Flashner 2020-11-16 22:34:39 +02:00
parent 4ef38c806d
commit 66f769122f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 4 deletions

View File

@ -150,10 +150,11 @@
(("test_unset grub_func_test")
"test_unset"))
#t)))
;; Disable tests on ARM and AARCH64 platforms.
#:tests? ,(not (any (cute string-prefix? <> (or (%current-target-system)
(%current-system)))
'("arm" "aarch64")))))
;; Disable tests on ARM and AARCH64 platforms or when cross-compiling.
#:tests? ,(not (or (any (cute string-prefix? <> (or (%current-target-system)
(%current-system)))
'("arm" "aarch64"))
(%current-target-system)))))
(inputs
`(("gettext" ,gettext-minimal)