~ruther/guix-local

186de634a79c94d4524f477675c67ae533caeb55 — Ludovic Courtès 11 years ago db5584d
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".
1 files changed, 9 insertions(+), 4 deletions(-)

M gnu/packages/curl.scm
M gnu/packages/curl.scm => gnu/packages/curl.scm +9 -4
@@ 61,11 61,16 @@
    `(#:configure-flags '("--with-gnutls" "--with-gssapi")
      ;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
      #:phases
      (alist-cons-before
       'check 'patch-runtests
      (alist-replace
       'check
       (lambda _
           (substitute* "tests/runtests.pl"
             (("/bin/sh") (which "sh"))))
         (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.
         (zero? (system* "make" "-C" "tests" "test")))
       %standard-phases)))
   (synopsis "Command line tool for transferring data with URL syntax")
   (description