[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
355/475: gnu: rust: Disable tests that fail on aarch64.
From: |
guix-commits |
Subject: |
355/475: gnu: rust: Disable tests that fail on aarch64. |
Date: |
Sun, 7 May 2023 12:48:08 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 6eb2d719bc162dfa29a115cbc49222500f8b6bb1
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 20db7d4968..bd054c038b 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -759,6 +759,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
- 326/475: gnu: rust-windows-x86-64-gnullvm-0.42: Update to 0.42.2., (continued)
- 326/475: gnu: rust-windows-x86-64-gnullvm-0.42: Update to 0.42.2., guix-commits, 2023/05/07
- 327/475: gnu: rust-windows-x86-64-gnu-0.42: Update to 0.42.2., guix-commits, 2023/05/07
- 330/475: gnu: rust-arbitrary-1: Update to 1.3.0., guix-commits, 2023/05/07
- 337/475: gnu: rust-rkyv-0.7: Update to 0.7.40., guix-commits, 2023/05/07
- 361/475: gnu: rust-fastrand-1: Update to 1.9.0., guix-commits, 2023/05/07
- 342/475: gnu: Add rust-castaway-0.2., guix-commits, 2023/05/07
- 343/475: gnu: rust-serde-1: Update to 1.0.158., guix-commits, 2023/05/07
- 341/475: gnu: rust-serde-derive-1: Update to 1.0.158., guix-commits, 2023/05/07
- 352/475: gnu: rust-bytecount-0.6: Update to 0.6.2., guix-commits, 2023/05/07
- 379/475: gnu: Add rust-objc-sys-0.2., guix-commits, 2023/05/07
- 355/475: gnu: rust: Disable tests that fail on aarch64.,
guix-commits <=
- 398/475: gnu: Add rust-simple-logger-2., guix-commits, 2023/05/07
- 384/475: gnu: rust-wayland-client-0.29: Update to 0.29.5., guix-commits, 2023/05/07
- 362/475: gnu: newsboat: Update to 2.31., guix-commits, 2023/05/07
- 404/475: gnu: Add rust-x11rb-protocol-0.10., guix-commits, 2023/05/07
- 367/475: gnu: rust-pktparse-0.5: Update to 0.7.1., guix-commits, 2023/05/07
- 360/475: gnu: rust-once-cell-1: Update to 1.17.1., guix-commits, 2023/05/07
- 380/475: gnu: Add rust-objc2-proc-macros-0.1., guix-commits, 2023/05/07
- 395/475: gnu: rust-x11-dl-2: Update to 2.21.0., guix-commits, 2023/05/07
- 412/475: gnu: rust-notify-5: Update to 5.1.0., guix-commits, 2023/05/07
- 421/475: gnu: rust-serde-json-1: Update to 1.0.96., guix-commits, 2023/05/07