gnu: julia-woodburymatrices: Fix tests on i686-linux.

* gnu/packages/julia-xyz.scm (julia-woodburymatrices)[arguments]<#:phases>:
Conditionally disable the failing test.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
zimoun 2021-12-01 16:54:38 +01:00 committed by Efraim Flashner
parent 828012ed9f
commit 630824a238
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5031,6 +5031,16 @@ (define-public julia-woodburymatrices
(sha256 (sha256
(base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd")))) (base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd"))))
(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/woodbury.jl"
(("@test logdet\\(W\\)")
"@test_broken logdet(W)"))))))
'(%standard-phases))))
(home-page "https://github.com/timholy/WoodburyMatrices.jl") (home-page "https://github.com/timholy/WoodburyMatrices.jl")
(synopsis "Support for the Woodbury matrix identity for Julia") (synopsis "Support for the Woodbury matrix identity for Julia")
(description "This package provides support for the Woodbury matrix identity (description "This package provides support for the Woodbury matrix identity