efraim pushed a commit to branch master
in repository guix.
commit 66f769122f35f96d6a459e46f63eeadcd62f5ef4
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Nov 16 22:34:39 2020 +0200
gnu: grub: Don't run tests when cross compiling.
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
---
gnu/packages/bootloaders.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 3c30395..1da8a7b 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -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)