[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v4 02/25] gnu: lean: Don't run tests when cross-compil
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v4 02/25] gnu: lean: Don't run tests when cross-compiling. |
Date: |
Fri, 31 Dec 2021 12:14:44 +0000 |
It still fails to cross-compile though.
* gnu/packages/lean.scm (lean)[arguments]<#:tests?>: Set to #false
when cross-compiling.
---
gnu/packages/lean.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/lean.scm b/gnu/packages/lean.scm
index 6ac7f1668a..fa36d282d7 100644
--- a/gnu/packages/lean.scm
+++ b/gnu/packages/lean.scm
@@ -46,10 +46,10 @@
;; XXX: Test phases currently fail on 32-bit sytems.
;; Tests for those architectures have been temporarily
;; disabled, pending further investigation.
- #:tests? ,(let ((arch (or (%current-target-system)
- (%current-system))))
- (not (or (string-prefix? "i686" arch)
- (string-prefix? "armhf" arch))))
+ #:tests? ,(and (not (%current-target-system))
+ (let ((arch (%current-system)))
+ (not (or (string-prefix? "i686" arch)
+ (string-prefix? "armhf" arch)))))
#:phases
(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-tests-shebangs
--
2.30.2
- bug#50299: [PATCH v4 19/25] gnu: python2-promise: Run tests conditionally., (continued)
- bug#50299: [PATCH v4 19/25] gnu: python2-promise: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 25/25] gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 24/25] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 03/25] gnu: lean: Add bash-minimal., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 04/25] gnu: swi-prolog: Move native-inputs to inputs where appropriate., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 08/25] gnu: swi-prolog: Use cross-compiled bash in shebangs., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 23/25] gnu: tdlib: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 10/25] gnu: swi-prolog: Correct reference to 'bin/swi-prolog'., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 14/25] gnu: go-1.16: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 12/25] gnu: ruby-ffi-rzmq: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 02/25] gnu: lean: Don't run tests when cross-compiling.,
Maxime Devos <=
- bug#50299: [PATCH v4 06/25] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 07/25] gnu: swi-prolog: Don't use 'cc'., Maxime Devos, 2021/12/31