[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52186] [core-updates-frozen PATCH v2 04/17] gnu: julia-finitediffer
From: |
zimoun |
Subject: |
[bug#52186] [core-updates-frozen PATCH v2 04/17] gnu: julia-finitedifferences: Fix tests on i686-linux. |
Date: |
Wed, 1 Dec 2021 16:53:50 +0100 |
* gnu/packages/julia-xyz (julia-finitedifferences)[arguments]<#:phases>:
Conditionnally disable the failing test.
---
gnu/packages/julia-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index d668924bf7..f5d2f69997 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1685,6 +1685,18 @@ (define-public julia-finitedifferences
(sha256
(base32 "09nsf9cgk49yrvprflnhd9h5rrgs280rgj8sad3csghxdx6jqk5c"))))
(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 _
+ ;; Machine Precision incorrectly handled
+ (substitute* "test/methods.jl"
+ (("@test central_fdm\\(15, 5, adapt=2\\)\\(exp, 1.0\\)")
+ "@test_broken central_fdm(15, 5, adapt=2)(exp,
1.0)"))))))
+ '(%standard-phases))))
(inputs
`(("julia-benchmarktools" ,julia-benchmarktools)))
(propagated-inputs
--
2.32.0
- [bug#52186] [core-updates-frozen PATCH v2 01/17] gnu: libunwind-julia: Fix build on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 02/17] gnu: julia-datastructures: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 03/17] gnu: julia-benchmarktools: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 06/17] gnu: julia-lazyarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 05/17] gnu: julia-configurations: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 07/17] gnu: julia-blockarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 04/17] gnu: julia-finitedifferences: Fix tests on i686-linux.,
zimoun <=
- [bug#52186] [core-updates-frozen PATCH v2 08/17] gnu: julia-mappedarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 09/17] gnu: julia-arrayinterface: Disable tests for i686., zimoun, 2021/12/01