From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id n3M6A92/a1+1IgAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 21:36:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mItMOty/a18CUQAAbx9fmQ (envelope-from ) for ; Wed, 23 Sep 2020 21:36:28 +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 8FE559404CC for ; Wed, 23 Sep 2020 21:36:28 +0000 (UTC) Received: from localhost ([::1]:55126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLCR9-0001oz-7o for larch@yhetil.org; Wed, 23 Sep 2020 17:36:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCQk-0001mq-PI for guix-patches@gnu.org; Wed, 23 Sep 2020 17:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLCQk-0006XG-E9 for guix-patches@gnu.org; Wed, 23 Sep 2020 17:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLCQk-0003tf-BA for guix-patches@gnu.org; Wed, 23 Sep 2020 17:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43581] [PATCH] guix build: Add '--without-tests'. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Sep 2020 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 43581@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 43581@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160089694814939 (code B ref -1); Wed, 23 Sep 2020 21:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2020 21:35:48 +0000 Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLCQW-0003st-1r for submit@debbugs.gnu.org; Wed, 23 Sep 2020 17:35:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:49324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLCQU-0003sh-Hk for submit@debbugs.gnu.org; Wed, 23 Sep 2020 17:35:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCQU-0001Zi-3O for guix-patches@gnu.org; Wed, 23 Sep 2020 17:35:46 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCQS-0006Rt-AX; Wed, 23 Sep 2020 17:35:45 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600896942; cv=none; d=zohomail.com; s=zohoarc; b=WagUwInfGwQXzcdQQJLOOZ4Jf8VShgBxNfU/6Ki/rmedEkSdHmVmbw7k00PrKElfyWplfOY4BdrqQr6RunF4TGJr4q3jAMkwUvFhx/VF8G11gy5l7RZj38YF9kaM60G4jk7CHCyHBQi3gPvUqmODrkJdFEg55BHc5KKMfrieL+Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600896942; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=N7SM5WyWVy9GS7m0IS0GoaQ5MibyNX9eXWikOM2GfRs=; b=QecBJz4f1nYJTTTTqr7ViiwnaKahUs24BEbEcVS+x6q8X/39B3FM4lom9nFR/3h9vyVPO9KeH3j69siLqggX8w7RTMikhyQCodnTOiItAgeid1Be2AqxR8mlfr2jhyVjKfjrYLS5LMBrkpLUV3jso9zRVaoVgNpw89NsnkESwsg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600896942; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=N7SM5WyWVy9GS7m0IS0GoaQ5MibyNX9eXWikOM2GfRs=; b=Ujndz6GfGb/RU+tdhcPgtGnf21AvJMdQoVaypbBXP/T/zo5xmK6lmYWWZa56kpaz CKEGZIk0vjsbm1EHLUSFOdR+IJzMnzVjSA8UcBuQh9585N9bY2MJ7qiINM6MtafZeSo nJk3eqCxBOWYwgA4stwnpDOI9vFJ3gX5jPKP658Q= Received: from localhost (p4fd5ac63.dip0.t-ipconnect.de [79.213.172.99]) by mx.zohomail.com with SMTPS id 1600896939837935.2435080960148; Wed, 23 Sep 2020 14:35:39 -0700 (PDT) References: <20200923204249.12058-1-ludo@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20200923204249.12058-1-ludo@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 23 Sep 2020 23:37:04 +0200 Message-ID: <87wo0kfa4f.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 17:30:26 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=Ujndz6Gf; dmarc=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-Spam-Score: 1.99 X-TUID: 1QuZ6K61D/Bv Ludovic Court=C3=A8s writes: > * guix/scripts/build.scm (transform-package-tests): New procedure. > (%transformations, %transformation-options) > show-transformation-options-help): Add it. > * tests/scripts-build.scm ("options->transformation, without-tests"): > New test. > * doc/guix.texi (Package Transformation Options): Document it. This looks good to me. It=E2=80=99s much more convenient for the casual us= er than to clone the Guix repo and to edit the package definition there, or to extend the package collection with GUIX_PACKAGE_PATH or even a channel. I suppose we=E2=80=99d have to fix all those packages that moved the check = phase without also checking for the =E2=80=9C#:tests?=E2=80=9D keyword. There ar= e quite a few of those that thus wouldn=E2=80=99t be affected by =E2=80=9C--without-tests= =E2=80=9D. --=20 Ricardo