mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: nmap: Honor tests? flag.
* gnu/packages/admin.scm (nmap)[arguments]: In custom 'check phase honor the #:tests? flag.
This commit is contained in:
parent
50970a28b7
commit
e4fe344a5c
1 changed files with 6 additions and 4 deletions
|
@ -3191,10 +3191,12 @@ (define (python-path dir)
|
|||
(,(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/")
|
||||
|
|
Loading…
Reference in a new issue