[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [core-updates PATCH 07/19] gnu: fish: Fix tests.
From: |
Greg Hogan |
Subject: |
[bug#70031] [core-updates PATCH 07/19] gnu: fish: Fix tests. |
Date: |
Wed, 27 Mar 2024 14:52:32 +0000 |
* gnu/packages/shells.scm (fish)[arguments]: Replace 'check phase to
properly build and run tests.
Change-Id: I1f5d82d7b4e817be3863ae7aff4798774b15cc2f
---
gnu/packages/shells.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index ae4e73956e6..e4856d94c8a 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -243,6 +243,11 @@ (define-public fish
port)
(close-port port))
#t))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Test artifacts and actions are built with the 'test' target.
+ (invoke "make" "test"))))
;; Use fish-foreign-env to source /etc/profile.
(add-before 'install 'source-etc-profile
(lambda* (#:key inputs #:allow-other-keys)
--
2.44.0
- [bug#70031] [core-updates PATCH 00/19] Use CMake in build-system/cmake., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 03/19] build-system/cmake: Add build., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 01/19] build-system/cmake: Parallelize tests using ctest., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 05/19] gnu: libmedfile: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 07/19] gnu: fish: Fix tests.,
Greg Hogan <=
- [bug#70031] [core-updates PATCH 09/19] gnu: igraph: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 02/19] build-system/cmake: Parameterize build system generator., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 06/19] gnu: srt: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 10/19] gnu: inkscape: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 11/19] gnu: vigra: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 15/19] gnu: websocketpp: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 12/19] gnu: cpp-httplib: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 14/19] gnu: astroid: Remove custom phases., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 13/19] gnu: libical: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 08/19] gnu: vulkan-loader: Disable parallel tests., Greg Hogan, 2024/03/27