mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: rust: Fix test setup.
* gnu/packages/rust.scm (rust-1.30)[arguments]<#:phases> [disable-amd64-avx-test]: Replace. (rust)[arguments]<#:phases>[disable-amd64-avx-test]: Replace.
This commit is contained in:
parent
339c1365fd
commit
586d30caa2
1 changed files with 13 additions and 1 deletions
|
@ -877,7 +877,13 @@ (define-public rust-1.30
|
|||
;; these for now
|
||||
(("fn include") "#[ignore]\nfn include")
|
||||
(("fn exclude") "#[ignore]\nfn exclude"))
|
||||
#t)))))))))
|
||||
#t))
|
||||
;; The test has been moved elsewhere.
|
||||
(replace 'disable-amd64-avx-test
|
||||
(lambda _
|
||||
(substitute* "src/test/ui/run-pass/issues/issue-44056.rs"
|
||||
(("only-x86_64") "ignore-test"))
|
||||
#t)))))))))
|
||||
|
||||
(define-public rust
|
||||
(let ((base-rust
|
||||
|
@ -908,6 +914,12 @@ (define-public rust
|
|||
((" Command::new\\(\"echo\"\\)")
|
||||
(string-append "\nCommand::new(\"" coreutils "/bin/echo\")\n")))
|
||||
#t)))
|
||||
;; The test has been moved elsewhere.
|
||||
(replace 'disable-amd64-avx-test
|
||||
(lambda _
|
||||
(substitute* "src/test/ui/issues/issue-44056.rs"
|
||||
(("only-x86_64") "ignore-test"))
|
||||
#t))
|
||||
(add-after 'patch-tests 'patch-process-docs-rev-cmd
|
||||
(lambda* _
|
||||
;; Disable some doc tests which depend on the "rev" command
|
||||
|
|
Loading…
Reference in a new issue