guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] gnu: gnurl: Make tests more verbose.


From: ng0
Subject: [PATCH 2/3] gnu: gnurl: Make tests more verbose.
Date: Wed, 21 Dec 2016 17:27:17 +0000

* gnu/packages/gnunet.scm (gnurl): Make tests more verbose.
Move [arguments](autoconf) phase into ...
new [arguments](check) phase.
[arguments](disable-test1026) phase: likewise.
---
 gnu/packages/gnunet.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 5780f5e25..941e357ce 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -205,16 +205,17 @@ and support for SSL3 and TLS.")
           ;; 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
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]