Subject: [core-updates-frozen PATCH v2 13/17] gnu: julia-woodburymatrices: Fix tests on i686-linux.

From: zimoun <[email-masked]>
Date: Wed, 1 Dec 2021 16:54:38 +0100

* gnu/packages/julia-xyz.scm (julia-woodburymatrices)[arguments]<#:phases>:
Conditionally disable the failing test.
---
 gnu/packages/julia-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ea7f9a3caa..14012a3c3b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5045,6 +5045,17 @@ (define-public julia-woodburymatrices
         (sha256
          (base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd"))))
     (build-system julia-build-system)
+    (arguments
+     `(#:phases
+       ,@(if (string-prefix? "i686" (or (%current-target-system)
+                                        (%current-system)))
+             '((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
-- 
2.32.0