From patchwork Sat Aug 10 07:11:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 66911 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 6A68E27BBE2; Sat, 10 Aug 2024 08:13:09 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 EEC4D27BBE9 for ; Sat, 10 Aug 2024 08:13:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scgHD-0003z6-U1; Sat, 10 Aug 2024 03:12:35 -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 1scgHC-0003yK-D4 for guix-patches@gnu.org; Sat, 10 Aug 2024 03:12:34 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1scgHC-0005zz-3r for guix-patches@gnu.org; Sat, 10 Aug 2024 03:12:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Yz9wBUogHa2lCEDZlkvDFjmKezndzRllSZHta+ksscI=; b=mci4n7pbDPkX6nu6pgIDo6GvrULF8unl46jeipBm05XB76T7vio+ecOrwtt9BTSb+h3a6TQm+HLel+meE409j2RdDe0aV5hMQ/YtBNxcETUjcy/w8kUd+qBxY+RSKWJutW+dDWIdSk1bfrvJTMVMioOUxym+NhkL+T0tne4EkfhmgF7t4LIIO4Mgh4usI7FpRbkpY/Z5IAuDM3lTOYVJ4BPq0jVHgF5d5lrsVyDykfNGr0vGgxsRD5pS0/aWHydbE0oayUJFmYvTKrsZa28jQ3KbyAzvvBWybFjrMN8BisRwcXtIcVlNxoCAltcbqbTtT57IdGe7qTJfISt6LDD8QQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1scgHf-0004w9-15; Sat, 10 Aug 2024 03:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72553] [PATCH 4/4] gnu: rust: Disable token_not_logged test. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 10 Aug 2024 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72553 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72553@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72553-submit@debbugs.gnu.org id=B72553.172327397518934 (code B ref 72553); Sat, 10 Aug 2024 07:13:02 +0000 Received: (at 72553) by debbugs.gnu.org; 10 Aug 2024 07:12:55 +0000 Received: from localhost ([127.0.0.1]:38957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scgHX-0004vF-Cj for submit@debbugs.gnu.org; Sat, 10 Aug 2024 03:12:55 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scgHT-0004uj-OR for 72553@debbugs.gnu.org; Sat, 10 Aug 2024 03:12:52 -0400 Received: from localhost (136.249.6.51.dyn.plus.net [51.6.249.136]) by mira.cbaines.net (Postfix) with ESMTPSA id 435A927BBEB for <72553@debbugs.gnu.org>; Sat, 10 Aug 2024 08:11:52 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 69417597 for <72553@debbugs.gnu.org>; Sat, 10 Aug 2024 07:11:51 +0000 (UTC) From: Christopher Baines Date: Sat, 10 Aug 2024 08:11:47 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <0917fd5934be09855e7baec9901fa090d98a524b.1723273907.git.mail@cbaines.net> References: <0917fd5934be09855e7baec9901fa090d98a524b.1723273907.git.mail@cbaines.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Maxim Cournoyer * gnu/packages/rust.scm (rust) [arguments]: Disable an extra test in the disable-tests-using-cargo-publish phase. Change-Id: I7d5d9603cfeeffd95f565b5bda455e28022fa745 --- gnu/packages/rust.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 13e57cd3f5..1d89cd212c 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1100,11 +1100,16 @@ (define-public rust #$@(make-ignore-test-list '("fn case")))))) (add-after 'unpack 'disable-tests-using-cargo-publish + ;; The publish procedure doesn't work in the build environment + ;; (see: https://github.com/rust-lang/rust/issues/120340). (lambda _ (with-directory-excursion "src/tools/cargo/tests/testsuite" (substitute* "alt_registry.rs" #$@(make-ignore-test-list '("fn warn_for_unused_fields"))) + (substitute* "registry_auth.rs" + #$@(make-ignore-test-list + '("fn token_not_logged"))) (substitute* '("cargo_add/locked_unchanged/mod.rs" "cargo_add/lockfile_updated/mod.rs" "cargo_remove/update_lock_file/mod.rs")