[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
366/459: gnu: rust: Disable tests that fail on aarch64.
From: |
guix-commits |
Subject: |
366/459: gnu: rust: Disable tests that fail on aarch64. |
Date: |
Mon, 24 Apr 2023 15:03:55 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 96e2903bb279b42d1a9a77c1dca6b1ae9c9eba0a
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
- 343/459: gnu: rust-uuid-1: Update to 1.3.0., (continued)
- 343/459: gnu: rust-uuid-1: Update to 1.3.0., guix-commits, 2023/04/24
- 340/459: gnu: rust-typenum-1: Update to 1.16.0., guix-commits, 2023/04/24
- 346/459: gnu: rust-bytecheck-0.6: Update to 0.6.10., guix-commits, 2023/04/24
- 350/459: gnu: rust-quote-1: Update to 1.0.25., guix-commits, 2023/04/24
- 353/459: gnu: Add rust-castaway-0.2., guix-commits, 2023/04/24
- 355/459: gnu: rust-syn-1: Update to 1.0.109., guix-commits, 2023/04/24
- 360/459: gnu: Add rust-windows-interface-0.46., guix-commits, 2023/04/24
- 385/459: gnu: rust-cargo-edit: Fix build., guix-commits, 2023/04/24
- 358/459: gnu: Add rust-test-strategy-0.2., guix-commits, 2023/04/24
- 381/459: gnu: sniffglue: Update to 0.15.0., guix-commits, 2023/04/24
- 366/459: gnu: rust: Disable tests that fail on aarch64.,
guix-commits <=
- 365/459: gnu: Add python-orjson., guix-commits, 2023/04/24
- 380/459: gnu: rust-syscallz-0.15: Update to 0.16.2., guix-commits, 2023/04/24
- 376/459: gnu: rust-nom-derive-0.7: Update to 0.10.1., guix-commits, 2023/04/24
- 379/459: gnu: rust-pledge-0.3: Update to 0.4.2., guix-commits, 2023/04/24
- 368/459: gnu: Add rust-bitflags-2., guix-commits, 2023/04/24
- 369/459: gnu: rust-curl-sys-0.4: Update to 0.4.61+curl-8.0.1., guix-commits, 2023/04/24
- 372/459: gnu: rust-fastrand-1: Update to 1.9.0., guix-commits, 2023/04/24
- 390/459: gnu: Add rust-objc-sys-0.2., guix-commits, 2023/04/24
- 392/459: gnu: Add rust-objc2-encode-2., guix-commits, 2023/04/24
- 393/459: gnu: Add rust-objc2-0.3., guix-commits, 2023/04/24