[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: cpulimit: Make check phase conditional.
From: |
guix-commits |
Subject: |
05/06: gnu: cpulimit: Make check phase conditional. |
Date: |
Mon, 16 Nov 2020 04:16:58 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit d4560e0b7b518e749ea2089b3a76e8d033b45784
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 11:15:49 2020 +0200
gnu: cpulimit: Make check phase conditional.
* gnu/packages/admin.scm (cpulimit)[arguments]: Only run custom 'check
phase when tests are enabled.
---
gnu/packages/admin.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index becd15d..e5f990f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2386,8 +2386,10 @@ lookup to YAML Mode. You could enable the mode with
@code{(add-hook
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "make" "-Csrc" make-flags)))
(replace 'check
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "-Ctests" make-flags)))
+ (lambda* (#:key tests? make-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "make" "-Ctests" make-flags))
+ #t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch master updated (8f447b1 -> cbd104b), guix-commits, 2020/11/16
- 02/06: gnu: acpica: Cross compile., guix-commits, 2020/11/16
- 03/06: gnu: cpulimit: Cross compile., guix-commits, 2020/11/16
- 01/06: gnu: wpa-supplicant-minimal: Cross compile., guix-commits, 2020/11/16
- 05/06: gnu: cpulimit: Make check phase conditional.,
guix-commits <=
- 04/06: gnu: cpulimit: Use make-flags., guix-commits, 2020/11/16
- 06/06: gnu: nnn: Cross compile., guix-commits, 2020/11/16