[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: lsof: Respect #:tests?.
From: |
guix-commits |
Subject: |
09/11: gnu: lsof: Respect #:tests?. |
Date: |
Sun, 22 Nov 2020 23:47:42 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 70303d073a4f9e9d9fdfa309c6fc350e80b63a60
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 23 03:52:07 2020 +0100
gnu: lsof: Respect #:tests?.
* gnu/packages/lsof.scm (lsof)[arguments]: The 'check phase takes and
respects a TESTS? keyword.
---
gnu/packages/lsof.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index ad3dfbd..0421ca7 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -79,15 +79,16 @@
(("(OPTTST=.*) LTnfs" _ prefix) prefix))
#t))
(replace 'check
- (lambda _
- (with-directory-excursion "tests"
- ;; Tests refuse to run on ‘unvalidated’ platforms.
- (make-file-writable "TestDB")
- (invoke "./Add2TestDB")
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "tests"
+ ;; Tests refuse to run on ‘unvalidated’ platforms.
+ (make-file-writable "TestDB")
+ (invoke "./Add2TestDB")
- ;; The ‘standard’ tests suggest running ‘optional’ ones as well.
- (invoke "make" "standard" "optional")
- #t)))
+ ;; The ‘standard’ tests suggest running ‘optional’ ones as
well.
+ (invoke "make" "standard" "optional")))
+ #t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- branch master updated (0ada181 -> f942c09), guix-commits, 2020/11/22
- 01/11: gnu: duplicity: Update to 0.8.17., guix-commits, 2020/11/22
- 02/11: gnu: facter: Update to 4.0.46., guix-commits, 2020/11/22
- 06/11: gnu: ipset: Update to 7.9., guix-commits, 2020/11/22
- 05/11: gnu: ipset: Use HTTPS home page., guix-commits, 2020/11/22
- 03/11: gnu: python-pandocfilters: Update to 1.4.3., guix-commits, 2020/11/22
- 04/11: gnu: webkitgtk: Update to 2.30.3., guix-commits, 2020/11/22
- 09/11: gnu: lsof: Respect #:tests?.,
guix-commits <=
- 07/11: gnu: hdparm: Update to 9.60., guix-commits, 2020/11/22
- 10/11: gnu: lsof: Make test failures fatal., guix-commits, 2020/11/22
- 08/11: gnu: lsof: Update to 4.94.0., guix-commits, 2020/11/22
- 11/11: gnu: lsof: Cross-compile., guix-commits, 2020/11/22