diff mbox series

[bug#72553,4/4] gnu: rust: Disable token_not_logged test.

Message ID c66bd5b763854bce52adbb68a66bcc49ef312ac7.1723273907.git.mail@cbaines.net
State New
Headers show
Series Several patches removed from core-updates | expand

Commit Message

Christopher Baines Aug. 10, 2024, 7:11 a.m. UTC
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>

* 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 mbox series

Patch

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")