mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: julia-mutablearithmetics: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-mutablearithmetics)[arguments]<#:phases>: Conditionally disable the failing test. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
630824a238
commit
afd35e8e9c
1 changed files with 16 additions and 0 deletions
|
@ -3229,6 +3229,22 @@ (define-public julia-mutablearithmetics
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1isyj8h4nx96cr6892d154v8pw1nhr7mjyz5bd6ffr2mkzb2bq4f"))))
|
(base32 "1isyj8h4nx96cr6892d154v8pw1nhr7mjyz5bd6ffr2mkzb2bq4f"))))
|
||||||
(build-system julia-build-system)
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
,@(if (target-x86-32?)
|
||||||
|
'((modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-failing-test-i686
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/utilities.jl"
|
||||||
|
;; Non-deterministic returned value, e.g.,
|
||||||
|
;; Expression: n == @allocated(f())
|
||||||
|
;; Evaluated: 240 == 120
|
||||||
|
;; and for some other values:
|
||||||
|
;; Got correct result, please change to @test
|
||||||
|
;; so @test_broken is not enough.
|
||||||
|
(("@test n == @allocated f\\(\\)")
|
||||||
|
" "))))))
|
||||||
|
'(%standard-phases))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("julia-offsetarrays" ,julia-offsetarrays)))
|
`(("julia-offsetarrays" ,julia-offsetarrays)))
|
||||||
(home-page "https://github.com/jump-dev/MutableArithmetics.jl")
|
(home-page "https://github.com/jump-dev/MutableArithmetics.jl")
|
||||||
|
|
Loading…
Reference in a new issue