From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MEIpBW9g8WLzQgEAbAwnHQ (envelope-from ) for ; Mon, 08 Aug 2022 21:13:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cLUbBW9g8WKLhgAA9RJhRA (envelope-from ) for ; Mon, 08 Aug 2022 21:13:51 +0200 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 C8C1316A9F for ; Mon, 8 Aug 2022 21:13:50 +0200 (CEST) Received: from localhost ([::1]:58912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL8CD-0005ev-R4 for larch@yhetil.org; Mon, 08 Aug 2022 15:13:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL8BU-0005au-JA for guix-patches@gnu.org; Mon, 08 Aug 2022 15:13:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL8BS-0006k7-K3 for guix-patches@gnu.org; Mon, 08 Aug 2022 15:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL8BS-0005Er-FA for guix-patches@gnu.org; Mon, 08 Aug 2022 15:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57060] [PATCH v2 2/2] gnu: pcc: Respect --without-tests. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57060@debbugs.gnu.org Cc: "\(" Received: via spool by 57060-submit@debbugs.gnu.org id=B57060.165998594420081 (code B ref 57060); Mon, 08 Aug 2022 19:13:02 +0000 Received: (at 57060) by debbugs.gnu.org; 8 Aug 2022 19:12:24 +0000 Received: from localhost ([127.0.0.1]:42022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL8Aq-0005Dp-Fm for submit@debbugs.gnu.org; Mon, 08 Aug 2022 15:12:24 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL8Ao-0005Dh-R7 for 57060@debbugs.gnu.org; Mon, 08 Aug 2022 15:12:23 -0400 Received: by disroot.org (Postfix, from userid 107) id 51CCA45F54; Mon, 8 Aug 2022 21:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659985725; bh=fY9X4yBxgIRO+eF8R2676kGbxRCW+NtfUfkuute+3zE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iSMPNArhheldU4WjoQb2xl7YOJ5QUdWDTfwcOn7Q7ApRn8aNvlkZS14KcpPFEu9Kg dVwwUItGJbRQpaURAr5BVytoY9qWnO+XXrfroyBFud1n+DBfmPSokXXFXa1di9DtEc slIS6ewtDLs8bWzMxHJs3YNzEWMRpczWTk1mz043Gr9zKVHUlcxmK3+ANqLnMOZh9o yXBZzLaohb26eDgWADzxg/tRD+9IA7is2O9LzznHXUDIBOe+ilFL80vDuPF+3RUoTU yLkst4tyaghnOPZBNy3WnGxiSkghMM9UNdE4kilYIfQqlqKqSMVn0j+L8oHztNyZWB pKY+0lKgzCR+A== Date: Mon, 8 Aug 2022 20:08:39 +0100 Message-Id: <20220808190839.20727-2-paren@disroot.org> In-Reply-To: <20220808190839.20727-1-paren@disroot.org> References: <20220808190839.20727-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659986030; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=g4Y3zVdaE/yTV2989yrr4fJG3xgbryOdDL4r/PIb6Ac=; b=OSubDixVJ9iFU9rpT+bLzw/svB2ABuSuo7U704+qlCm7Si4kQB5mr8jjUEsW3c4sL2KoUu Zlmq8RXmxNDvQMwM6MUTBbHcdoh8PMv40mT1VBgoLFxdvdHo1e5jQqkVVM/53w6KqwXGU0 juWqtCiaYrY/oFwm5qWOJkzZPZPKy3/N0HsMv+fZE65JRJLtellLp4c4fwP+L1dGFu/qxe GHar69eoNIoKWxmDQwJcZ4/L+CADA8R0otctnPZ+5feiOntb9NTNE++7cd3som3/fBvGvw etRiG/D/yYN14KHHJ8W8tiXAGUelZR4wymqKre5ghDc5TVVEHlQv/hwrgsZujQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659986030; a=rsa-sha256; cv=none; b=dVSqph+NnKQ8OT3o+AgrDsRBxclN035g7r7HvpZ5SNPA7RoDjn/gjxN7EAf1mYFZpNcilw Wl84Pi+mo4PF9WkvgcmARpMhCi71gGM1jtU6tcdXTJ3SHJovhxOO9GL8knFRtLcg/Ri2y3 KWOVYCuj03RZJcYgVltJ3ZrwT9qLUnRskxEj9rEUPvbdvjXDBWEXKDJ5ki9+feKpH4/Ixg DuIF0OnYiElVZqy9S0VOpV7caAJndJAXtlNB7jxgp639Vm6RltxzQ6WoBsE3BcPZfMrmCo SDQl6m4qAa6q4bnQchyl9SJkeJ6yOb2QFFsIK0LA5/LN48X54DmihVGg9zAH5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iSMPNArh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iSMPNArh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C8C1316A9F X-Spam-Score: -3.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: wzmTPFXD2hAS * gnu/packages/c.scm (pcc)[arguments]<#:phases>{check}: Respect the `tests?` argument. --- gnu/packages/c.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 113a331070..39f048e993 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -197,8 +197,9 @@ (define-public pcc (substitute* (list "cc/ccom/scan.l" "cc/cxxcom/scan.l") (("lineno, ") "")))) (replace 'check - (lambda _ - (invoke "make" "-C" "cc/cpp" "test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "-C" "cc/cpp" "test"))))))) (native-inputs (list bison flex)) (synopsis "Portable C compiler") (description -- 2.37.1