gnu: gnurl: Make tests more verbose.

* gnu/packages/gnunet.scm (gnurl)[arguments]: Replace the 'check' phase.
Move the 'disable-test1026' and 'patch-runtests' phases into 'check' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
ng0 2016-12-23 11:29:32 +00:00 committed by Leo Famulari
parent a0e43c9fa7
commit 4ec08b637b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -205,16 +205,17 @@ (define-public gnurl
;; Clear artifacts left (shebangs) from release preparation.
(lambda _
(zero? (system* "./buildconf"))))
(add-before 'check 'disable-test1026
(replace 'check
(lambda _
;; It is unclear why test1026 fails, however the content of it
;; suggests that it is not vital for gnurl.
(delete-file "tests/data/test1026")
#t))
(add-before 'check 'patch-runtests
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
;; Make test output more verbose.
(zero? (system* "make" "-C" "tests" "test"))
#t)))))
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
(description