[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch rust-team updated: gnu: rust: Disable tests that fail on aarch64.
From: |
guix-commits |
Subject: |
branch rust-team updated: gnu: rust: Disable tests that fail on aarch64. |
Date: |
Wed, 12 Apr 2023 07:46:27 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch rust-team
in repository guix.
The following commit(s) were added to refs/heads/rust-team by this push:
new 43c457548a gnu: rust: Disable tests that fail on aarch64.
43c457548a is described below
commit 43c457548ae227980d95382a237d481246e021ed
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Apr 12 13:45:48 2023 +0200
gnu: rust: Disable tests that fail on aarch64.
* gnu/packages/rust.scm (rust)[arguments]: Add phase
'disable-tests-broken-on-aarch64.
---
gnu/packages/rust.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 7b0436841f..4fa3fb3273 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -765,6 +765,24 @@ safety and thread safety guarantees.")
"src/tools/cargo/tests/testsuite/init/mercurial_autodetect/mod.rs"
(("fn mercurial_autodetect")
"#[ignore]\nfn mercurial_autodetect"))))
+ (add-after 'unpack 'disable-tests-broken-on-aarch64
+ (lambda _
+ (with-directory-excursion "src/tools/cargo/tests/testsuite/"
+ (substitute* "build_script_extra_link_arg.rs"
+ (("^fn build_script_extra_link_arg_bin_single" m)
+ (string-append "#[ignore]\n" m)))
+ (substitute* "build_script.rs"
+ (("^fn env_test" m)
+ (string-append "#[ignore]\n" m)))
+ (substitute* "collisions.rs"
+ (("^fn collision_doc_profile_split" m)
+ (string-append "#[ignore]\n" m)))
+ (substitute* "concurrent.rs"
+ (("^fn no_deadlock_with_git_dependencies" m)
+ (string-append "#[ignore]\n" m)))
+ (substitute* "features2.rs"
+ (("^fn dep_with_optional_host_deps_activated" m)
+ (string-append "#[ignore]\n" m))))))
(add-after 'unpack 'patch-command-exec-tests
;; This test suite includes some tests that the stdlib's
;; `Command` execution properly handles in situations where
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch rust-team updated: gnu: rust: Disable tests that fail on aarch64.,
guix-commits <=