[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [PATCH v2 15/65] gnu: fish: Fix tests.
From: |
Greg Hogan |
Subject: |
[bug#70031] [PATCH v2 15/65] gnu: fish: Fix tests. |
Date: |
Tue, 22 Oct 2024 18:09:05 +0000 |
* gnu/packages/shells.scm (fish)[arguments]: Replace 'check phase to
replace the old cmake-build-system test target.
---
gnu/packages/shells.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 43a1fbb540..13f99bc728 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -255,6 +255,15 @@ (define-public fish
port)
(close-port port))
#t))
+ (replace 'check
+ (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
+ (when tests?
+ (let ((job-count (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1")))
+ ;; Test artifacts and actions are built and run with the
+ ;; 'test' target.
+ (invoke "make" "-j" job-count "test")))))
;; Use fish-foreign-env to source /etc/profile.
(add-before 'install 'source-etc-profile
(lambda* (#:key inputs #:allow-other-keys)
--
2.46.1
- [bug#70031] [PATCH v2 14/65] gnu: rdma-core: Remove custom phases., (continued)
- [bug#70031] [PATCH v2 14/65] gnu: rdma-core: Remove custom phases., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 16/65] gnu: igraph: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 19/65] gnu: kirigami: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 13/65] gnu: astroid: Remove custom phases., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 18/65] gnu: inkscape/stable: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 22/65] gnu: cpp-httplib: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 23/65] gnu: evolution-data-server: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 24/65] gnu: kservice: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 30/65] gnu: vulkan-loader: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 10/65] build-system/cmake: Optionally build tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 15/65] gnu: fish: Fix tests.,
Greg Hogan <=
- [bug#70031] [PATCH v2 35/65] gnu: nextcloud-client: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 37/65] gnu: qxmpp: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 42/65] gnu: entangle: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 38/65] gnu: simgear: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 43/65] gnu: go-mvdan-cc-editorconfig: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 46/65] gnu: lxi-tools: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 17/65] gnu: inkscape: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 20/65] gnu: kirigami-5: Disable tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 21/65] gnu: vigra: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 27/65] gnu: mbedtls-lts: Disable parallel tests., Greg Hogan, 2024/10/22