From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cAHrEdIeRmEo9gAAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 19:16:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YD6fDdIeRmGLZgAA1q6Kng (envelope-from ) for ; Sat, 18 Sep 2021 17:16:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C3FB9A477 for ; Sat, 18 Sep 2021 19:16:01 +0200 (CEST) Received: from localhost ([::1]:52210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRdwW-0007PX-W5 for larch@yhetil.org; Sat, 18 Sep 2021 13:16:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdvb-0007Nk-5n for guix-patches@gnu.org; Sat, 18 Sep 2021 13:15:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRdva-00067v-Uk for guix-patches@gnu.org; Sat, 18 Sep 2021 13:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRdva-0008F3-KZ for guix-patches@gnu.org; Sat, 18 Sep 2021 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50664] [PATCH core-updates-frozen] gnu: curl: Respect #:tests?. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50664@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163198528631640 (code B ref -1); Sat, 18 Sep 2021 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2021 17:14:46 +0000 Received: from localhost ([127.0.0.1]:36774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdvK-0008EG-3n for submit@debbugs.gnu.org; Sat, 18 Sep 2021 13:14:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:55198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdvH-0008E7-Tu for submit@debbugs.gnu.org; Sat, 18 Sep 2021 13:14:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdvH-000767-Od for guix-patches@gnu.org; Sat, 18 Sep 2021 13:14:43 -0400 Received: from out1.migadu.com ([91.121.223.63]:53472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdvE-0005lF-Hj for guix-patches@gnu.org; Sat, 18 Sep 2021 13:14:43 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1631985277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=WQRG53X5TfjlOcWC41/QqVGv1EYD1bNly5JCIxGQkpA=; b=Gdgn7vrzytD4zPrv0TQJimqg1ZD7SiH2xydO2rqZccDnOzyULm+DJFk4TjrglBRAX1w5/p 6uJwt+t4YC1qGozsSBaz/uLPSYV+7eByYvTP1RNYoWxLttLpGTZ3ka6a6AbARbOBN4Vs2O +Jck7U0OWmstOpYYGUbt6YWr5ANKTlo= From: Sarah Morgensen Date: Sat, 18 Sep 2021 10:14:34 -0700 Message-Id: <8d416ea3a4f64a4a4df52084e5a9e5cce11c3c0b.1631944982.git.iskarian@mgsn.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.121.223.63; envelope-from=iskarian@mgsn.dev; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631985361; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WQRG53X5TfjlOcWC41/QqVGv1EYD1bNly5JCIxGQkpA=; b=Qr0BhhSq+WK/eIxyGtMGO5bbfhu6Jtmk003HDsxd7XAeIMqSX+pzLxVnb8v3jTtStvk47O 2n6axTMFEBFCzv6QSFTEkP0aZyxQXiT7kujcamwBs6cTMfAol/s0YExOh+BvOIX0pwt6Le IeGbiS915xsSIAOBLVNmcceOfcXYHRx4DUAccXYfLQUfMOGTeMh9vfRJoVpEvuhfdSz849 afZ5BXR19FXAezoCc/Durr9DkSjSARnuPiauZ8aKKiQ+EphYO5GbcQRqMDGELgX7Vk7SJh kOpDLun3R31n74jVqEApjbo0dgzHBvR/t7wFjwwiDBkNTbA0RBkzTquyoTxlPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631985361; a=rsa-sha256; cv=none; b=OVbQOdO+9lzIu93rl+SxsMqoJqBGlygMjU4n1GMkhfUieswQAD0zLBE/2WbJ5MoJ3XYAq9 oUnli+VwpHKOCY3xsMw6nb91QYHyD8Pyi07ZWSvmf3ykUMpv0Xghv6m2M3643je4qf19f7 Ko/UFJuAKxN0lT1VCHRijj2XTRUTQj/62+mSo8D+HdsMfJ9Df3T1Bx843WGU95XG3gZovG v0waRKagEk/83IvbMJ97zxmOPB09Ea+rDrDVbsJf9cF8FEXP9LCIzcNIKeVpzWfrqgwo2k azsCe2Fsmy4zhRvRFSVDer3QZopL2AyexPVGqLFUmnHlKGjXvFs6dksCDPte1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Gdgn7vrz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Gdgn7vrz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C3FB9A477 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6jVaYJrgMUQj * gnu/packages/curl.scm (curl)[arguments]<#:phases>{check}: Respect #: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 063a919700..17aed51fdd 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? (not target)) #: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, base-commit: 8613652f3f80105f35db13d6d9308257bbff8474 -- 2.33.0