gnu: curl: Honor #:tests?.
* gnu/packages/curl.scm (curl)[phases]{check}: Honor #:tests?.master
parent
3dfe45c3f1
commit
460d6aca0c
|
@ -124,16 +124,16 @@
|
||||||
(rename-file (string-append out "/share/man/man3")
|
(rename-file (string-append out "/share/man/man3")
|
||||||
(string-append doc "/share/man/man3"))
|
(string-append doc "/share/man/man3"))
|
||||||
#t)))
|
#t)))
|
||||||
(replace
|
(replace 'check
|
||||||
'check
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(lambda _
|
(substitute* "tests/runtests.pl"
|
||||||
(substitute* "tests/runtests.pl"
|
(("/bin/sh") (which "sh")))
|
||||||
(("/bin/sh") (which "sh")))
|
|
||||||
|
|
||||||
;; The top-level "make check" does "make -C tests quiet-test", which
|
(when tests?
|
||||||
;; is too quiet. Use the "test" target instead, which is more
|
;; The top-level "make check" does "make -C tests quiet-test", which
|
||||||
;; verbose.
|
;; is too quiet. Use the "test" target instead, which is more
|
||||||
(invoke "make" "-C" "tests" "test"))))))
|
;; verbose.
|
||||||
|
(invoke "make" "-C" "tests" "test")))))))
|
||||||
(synopsis "Command line tool for transferring data with URL syntax")
|
(synopsis "Command line tool for transferring data with URL syntax")
|
||||||
(description
|
(description
|
||||||
"curl is a command line tool for transferring data with URL syntax,
|
"curl is a command line tool for transferring data with URL syntax,
|
||||||
|
|
Reference in New Issue