[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: grub: Don't run tests when cross compiling.
From: |
guix-commits |
Subject: |
01/02: gnu: grub: Don't run tests when cross compiling. |
Date: |
Mon, 16 Nov 2020 15:41:01 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 66f769122f35f96d6a459e46f63eeadcd62f5ef4
Author: Efraim Flashner <efraim@flashner.co.il>
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)