From patchwork Tue Apr 25 20:16:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 49511 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8D04827BBE2; Tue, 25 Apr 2023 21:17:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3385C27BBE9 for ; Tue, 25 Apr 2023 21:17:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prP63-0007ir-PT; Tue, 25 Apr 2023 16:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prP61-0007iT-6n for guix-patches@gnu.org; Tue, 25 Apr 2023 16:17:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prP5y-0007Ez-Tf for guix-patches@gnu.org; Tue, 25 Apr 2023 16:17:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prP5y-0001vk-9Y for guix-patches@gnu.org; Tue, 25 Apr 2023 16:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63074] [PATCH 1/2] tests: guix-build.sh: Don't use hidden gcc for transformation tests. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Apr 2023 20:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret , 63074@debbugs.gnu.org Received: via spool by 63074-submit@debbugs.gnu.org id=B63074.16824538087381 (code B ref 63074); Tue, 25 Apr 2023 20:17:02 +0000 Received: (at 63074) by debbugs.gnu.org; 25 Apr 2023 20:16:48 +0000 Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prP5k-0001uy-Am for submit@debbugs.gnu.org; Tue, 25 Apr 2023 16:16:48 -0400 Received: from jpoiret.xyz ([206.189.101.64]:54060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prP5g-0001um-ET for 63074@debbugs.gnu.org; Tue, 25 Apr 2023 16:16:47 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id BD8F2184F2B; Tue, 25 Apr 2023 20:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1682453803; 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: in-reply-to:in-reply-to:references:references; bh=7pip8Q5QR99PeOenPyxo1AfM7wgAZVLl1SlELn4xx0A=; b=bVuWZvXyuiQk3rgh8qoZELUsIPhuDxJ95oY6DSAsNU3piUxzBAVAhaULVM2hY7Q+bh4ez3 Z4eqts5DMQLLPpsuv0JYiwOrDOtvqgXSAr1LWrjumUdTmHwdhPqd+vm82NiivycVXL53W1 O0X5q8rywgKjwwagvj7behxxlKeY/x4AODT/i03St4V7QoLH+gV743PVs776L60ZE71hKu U70XqSE1Xk5xuRbuAdxn7lYf6nQvXaxcE48UmVjbZ3AV3rwwzXU4lEgsOKNjtO4xvnAVZJ 65lgKo5VvSfwImcwinaaB6eFmY2JuSfCMcc+J95FR1qfoxhWhZ0bbetHs2CRHA== Date: Tue, 25 Apr 2023 22:16:41 +0200 Message-Id: <9883e0aa75c73f5fc12c9e5b1fe358e9d66b966c.1682452738.git.dev@jpoiret.xyz> In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz 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: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * tests/guix-build.sh: Do not try to rewrite gcc, it is hidden and so will not be rewritten, as per eee95b5a879b7096dffd533f24107cf8926b621e. Instead, try to build grep with coreutils rewritten to hello. --- tests/guix-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 2c59177c86..317c58ac42 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh @@ -318,10 +318,10 @@ drv2=`guix build inkscape -d --no-grafts --with-graft=glib=glib-networking` test "$drv1" = "$drv2" # Rewriting implicit inputs. -drv1=`guix build hello -d` -drv2=`guix build hello -d --with-input=gcc=gcc-toolchain` +drv1=`guix build grep -d` +drv2=`guix build grep -d --with-input=coreutils=hello` test "$drv1" != "$drv2" -guix gc -R "$drv2" | grep `guix build -d gcc-toolchain` +guix gc -R "$drv2" | grep `guix build -d hello` guix build guile --with-input=libunistring=something-really-silly && false