[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/217: gnu: curl: Honor #:tests?.
From: |
guix-commits |
Subject: |
82/217: gnu: curl: Honor #:tests?. |
Date: |
Sun, 14 Nov 2021 19:20:47 -0500 (EST) |
vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 73a8677528643e4e468c2fbcede85befe6934163
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Sun Sep 19 11:46:52 2021 -0700
gnu: curl: Honor #:tests?.
* gnu/packages/curl.scm (curl)[phases]{check}: Honor #:tests?.
---
gnu/packages/curl.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 063a919..4c90c7b 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -124,16 +124,16 @@
(rename-file (string-append out "/share/man/man3")
(string-append doc "/share/man/man3"))
#t)))
- (replace
- 'check
- (lambda _
- (substitute* "tests/runtests.pl"
- (("/bin/sh") (which "sh")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (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.
- (invoke "make" "-C" "tests" "test"))))))
+ (when tests?
+ ;; The top-level "make check" does "make -C tests quiet-test",
which
+ ;; is too quiet. Use the "test" target instead, which is more
+ ;; verbose.
+ (invoke "make" "-C" "tests" "test")))))))
(synopsis "Command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,
- 178/217: gnu: duktape: Install a pkg-config file., (continued)
- 178/217: gnu: duktape: Install a pkg-config file., guix-commits, 2021/11/14
- 180/217: gnu: network-manager: Update to 1.32.12., guix-commits, 2021/11/14
- 187/217: gnu: Add webkitgtk-with-libsoup2, guix-commits, 2021/11/14
- 198/217: gnu: ansible: Update to 4.7.0., guix-commits, 2021/11/14
- 207/217: gnu: Add python-sphinxcontrib-asyncio., guix-commits, 2021/11/14
- 195/217: gnu: openblas: Update to 0.3.18., guix-commits, 2021/11/14
- 208/217: gnu: Add python-asyncpg., guix-commits, 2021/11/14
- 210/217: gnu: Add python-aiomysql., guix-commits, 2021/11/14
- 215/217: gnu: python-urllib3: Update to 1.26.7., guix-commits, 2021/11/14
- 41/217: gnu: gst-plugins-base: Update to 1.19.2., guix-commits, 2021/11/14
- 82/217: gnu: curl: Honor #:tests?.,
guix-commits <=
- 164/217: gnu: gdb: Update to 11.1 and remove gdb-9.2., guix-commits, 2021/11/14
- 162/217: gnu: zxing-cpp: Update to 1.2.0-0.00783db., guix-commits, 2021/11/14
- 160/217: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/11/14
- 166/217: gnu: python2-lit: Remove package., guix-commits, 2021/11/14
- 172/217: gnu: dconf: Update to 0.40.0., guix-commits, 2021/11/14
- 179/217: gnu: Add polkit-duktape., guix-commits, 2021/11/14
- 190/217: gnu: python-requests: Update to 2.26.0., guix-commits, 2021/11/14
- 89/217: aux-files: sitecustomize: Cleanup and add explanatory comments., guix-commits, 2021/11/14
- 88/217: guix: packages: Fix repacking of plain tarballs., guix-commits, 2021/11/14
- 87/217: gnu: gdb: Normalize indentation., guix-commits, 2021/11/14