me
/
guix
Archived
1
0
Fork 0

gnu: curl: Honor #:tests?.

* gnu/packages/curl.scm (curl)[phases]{check}: Honor #:tests?.
master
Sarah Morgensen 2021-09-19 11:46:52 -07:00 committed by Maxim Cournoyer
parent 3dfe45c3f1
commit 460d6aca0c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 9 additions and 9 deletions

View File

@ -124,16 +124,16 @@
(rename-file (string-append out "/share/man/man3")
(string-append doc "/share/man/man3"))
#t)))
(replace
'check
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
(invoke "make" "-C" "tests" "test"))))))
(when tests?
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
(invoke "make" "-C" "tests" "test")))))))
(synopsis "Command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,