gnu: curl: Enable more verbose test output.
* gnu/packages/curl.scm (curl)[arguments]: Fold 'patch-runtests' phase into 'check' phase, and replace the standard 'check' phase. Run "make -C tests test".
This commit is contained in:
parent
db5584dd11
commit
186de634a7
@ -61,11 +61,16 @@
|
|||||||
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
|
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
|
||||||
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
|
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
|
||||||
#:phases
|
#:phases
|
||||||
(alist-cons-before
|
(alist-replace
|
||||||
'check 'patch-runtests
|
'check
|
||||||
(lambda _
|
(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
|
||||||
|
;; is too quiet. Use the "test" target instead, which is more
|
||||||
|
;; verbose.
|
||||||
|
(zero? (system* "make" "-C" "tests" "test")))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
(synopsis "Command line tool for transferring data with URL syntax")
|
(synopsis "Command line tool for transferring data with URL syntax")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user