Subject: [bug#52186] [core-updates-frozen PATCH v2 09/17] gnu: julia-arrayinterface: Disable tests for i686.

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

* gnu/packages/julia-xyz.scm (julia-arrayinterface)[arguments]<#:tests?>:
Conditionally disable tests.
---
 gnu/packages/julia-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index bf65fae39a..caa038ab45 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -158,6 +158,14 @@ (define-public julia-arrayinterface
         (sha256
          (base32 "0cmldnzvdgmfnrnrzgj6v1mfr2rvk5096392rwmhd3iyx7v0pq33"))))
     (build-system julia-build-system)
+    (arguments
+     ;; XXXX: Unexpected failures for i686, e.g.,
+     ;; Expression: @inferred(ArrayInterface.size(Rnr)) === (StaticInt(4),)
+     ;; Evaluated: (static(2),) === (static(4),)
+     ;; Disable as stopgap.
+     `(#:tests? ,(if (string-prefix? "i686" (or (%current-target-system)
+                                                (%current-system)))
+                     #f #t)))
     (propagated-inputs
      `(("julia-ifelse" ,julia-ifelse)
        ("julia-requires" ,julia-requires)
-- 
2.32.0