[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/194: gnu: rust: Fix test failures on some architectures.
From: |
guix-commits |
Subject: |
141/194: gnu: rust: Fix test failures on some architectures. |
Date: |
Tue, 3 Oct 2023 14:57:54 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0c09d27dea46ed87d0ea202f9a99e4531572a411
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:22:58 2023 +0300
gnu: rust: Fix test failures on some architectures.
* gnu/packages/rust.scm (rust)[arguments]: Adjust custom phase
'patch-process-tests to enable tests to pass on all architectures.
---
gnu/packages/rust.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 0dc60c8991..5e860057bc 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -845,10 +845,11 @@ safety and thread safety guarantees.")
;; emulation on aarch64 and riscv64 also fail on x86_64 in
;; Guix's build system. Skip them on all builds.
(substitute* "sys/unix/process/process_common/tests.rs"
- ,@(make-ignore-test-list
- '("fn test_process_mask"
- "fn test_process_group_posix_spawn"
- "fn test_process_group_no_posix_spawn")))))))
+ ;; We can't use make-ignore-test-list because we will
get
+ ;; build errors due to the double [ignore] block.
+ (("target_arch = \"arm\"" arm)
+ (string-append "target_os = \"linux\",\n"
+ " " arm)))))))
(add-after 'unpack 'disable-interrupt-tests
(lambda _
;; This test hangs in the build container; disable it.
- 120/194: gnu: Add rust-mimalloc-rust-0.1., (continued)
- 120/194: gnu: Add rust-mimalloc-rust-0.1., guix-commits, 2023/10/03
- 123/194: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/03
- 131/194: gnu: rust-sourcemap-6: Update to 6.4.1., guix-commits, 2023/10/03
- 117/194: gnu: python-cryptography: Update to 41.0.4., guix-commits, 2023/10/03
- 124/194: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/03
- 143/194: gnu: Add rust-unreachable-0.1., guix-commits, 2023/10/03
- 129/194: gnu: Add rust-repr-offset-0.2., guix-commits, 2023/10/03
- 137/194: gnu: Add rust-napi-derive-2., guix-commits, 2023/10/03
- 127/194: gnu: rust-lexical-core-0.7: Fix inputs., guix-commits, 2023/10/03
- 139/194: gnu: Add rust-napi-2., guix-commits, 2023/10/03
- 141/194: gnu: rust: Fix test failures on some architectures.,
guix-commits <=
- 122/194: gnu: Add rust-as-derive-utils-0.10., guix-commits, 2023/10/03
- 144/194: gnu: Add rust-unicode-id-0.3., guix-commits, 2023/10/03
- 132/194: gnu: rust-test-case-1: Update to 1.2.3., guix-commits, 2023/10/03
- 135/194: gnu: Add rust-napi-sys-2., guix-commits, 2023/10/03
- 148/194: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/03
- 128/194: gnu: rust-proptest-1: Update to 1.3.1., guix-commits, 2023/10/03
- 147/194: gnu: Add rust-ntest-proc-macro-helper-0.7., guix-commits, 2023/10/03
- 150/194: gnu: Add rust-ntest-0.7., guix-commits, 2023/10/03
- 154/194: gnu: Add rust-generational-arena-0.2., guix-commits, 2023/10/03
- 155/194: gnu: Add rust-debugid-0.8., guix-commits, 2023/10/03