mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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.
This commit is contained in:
parent
cf300075a5
commit
322b124936
1 changed files with 5 additions and 4 deletions
|
@ -845,10 +845,11 @@ (define-public rust
|
|||
;; 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.
|
||||
|
|
Loading…
Reference in a new issue