guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/17: gnu: julia-woodburymatrices: Fix tests on i686-linux.


From: guix-commits
Subject: 13/17: gnu: julia-woodburymatrices: Fix tests on i686-linux.
Date: Sat, 4 Dec 2021 12:54:07 -0500 (EST)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit 630824a238fafa88245ec0cbee5e5d242739b230
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Wed Dec 1 16:54:38 2021 +0100

    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>
---
 gnu/packages/julia-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index af07953..804e9e7 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]