[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: nmap: Honor tests? flag.
From: |
guix-commits |
Subject: |
03/06: gnu: nmap: Honor tests? flag. |
Date: |
Sun, 29 May 2022 09:34:01 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit e4fe344a5c64063f8201a637973aa366a3ded200
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 29 16:29:36 2022 +0300
gnu: nmap: Honor tests? flag.
* gnu/packages/admin.scm (nmap)[arguments]: In custom 'check phase honor
the #:tests? flag.
---
gnu/packages/admin.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index af75dee697..4e655551bd 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3191,10 +3191,12 @@ rules is done with the @code{auditctl} utility.")
(,(python-path ndiff)))))))
;; These are the tests that do not require network access.
(replace 'check
- (lambda _ (invoke "make"
- "check-nse"
- "check-ndiff"
- "check-dns"))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make"
+ "check-nse"
+ "check-ndiff"
+ "check-dns")))))
;; Nmap can't cope with out-of-source building.
#:out-of-source? #f))
(home-page "https://nmap.org/")
- branch master updated (69af8a6837 -> 9cd22702b8), guix-commits, 2022/05/29
- 01/06: gnu: wgetpaste: Add missing input., guix-commits, 2022/05/29
- 02/06: gnu: wgetpaste: Remove trailing #t from phases., guix-commits, 2022/05/29
- 06/06: gnu: wget: Update to 1.21.3., guix-commits, 2022/05/29
- 04/06: gnu: git-annex: Update to 10.20220525., guix-commits, 2022/05/29
- 03/06: gnu: nmap: Honor tests? flag.,
guix-commits <=
- 05/06: gnu: mutt: Update to 2.2.5., guix-commits, 2022/05/29