summary refs log tree commit diff
path: root/gnu/packages/julia-xyz.scm
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2021-12-01 16:54:38 +0100
committerEfraim Flashner <efraim@flashner.co.il>2021-12-04 19:50:32 +0200
commit630824a238fafa88245ec0cbee5e5d242739b230 (patch)
treed1e4b30541d339a358b76276896bfe854be9f9af /gnu/packages/julia-xyz.scm
parent828012ed9f57f4bce6ce75ffd118f58a789d928d (diff)
downloadguix-630824a238fafa88245ec0cbee5e5d242739b230.tar.gz
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>
Diffstat (limited to 'gnu/packages/julia-xyz.scm')
-rw-r--r--gnu/packages/julia-xyz.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index af079534b2..804e9e707f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5031,6 +5031,16 @@ allows for efficient string representation and transfer")
         (sha256
          (base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd"))))
     (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")
     (synopsis "Support for the Woodbury matrix identity for Julia")
     (description "This package provides support for the Woodbury matrix identity