mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
a0e43c9fa7
commit
4ec08b637b
1 changed files with 5 additions and 4 deletions
|
@ -205,16 +205,17 @@ (define-public gnurl
|
||||||
;; Clear artifacts left (shebangs) from release preparation.
|
;; Clear artifacts left (shebangs) from release preparation.
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "./buildconf"))))
|
(zero? (system* "./buildconf"))))
|
||||||
(add-before 'check 'disable-test1026
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; It is unclear why test1026 fails, however the content of it
|
;; It is unclear why test1026 fails, however the content of it
|
||||||
;; suggests that it is not vital for gnurl.
|
;; suggests that it is not vital for gnurl.
|
||||||
(delete-file "tests/data/test1026")
|
(delete-file "tests/data/test1026")
|
||||||
#t))
|
|
||||||
(add-before 'check 'patch-runtests
|
|
||||||
(lambda _
|
|
||||||
(substitute* "tests/runtests.pl"
|
(substitute* "tests/runtests.pl"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
|
||||||
|
;; Make test output more verbose.
|
||||||
|
(zero? (system* "make" "-C" "tests" "test"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
|
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue