[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52186] [core-updates-frozen PATCH v2 05/17] gnu: julia-configuratio
From: |
zimoun |
Subject: |
[bug#52186] [core-updates-frozen PATCH v2 05/17] gnu: julia-configurations: Fix tests on i686-linux. |
Date: |
Wed, 1 Dec 2021 16:53:51 +0100 |
* gnu/packages/julia-xyz.scm (julia-configurations)[arguments]<#:phases>:
Conditionally replace the incorrect type in test suite.
---
gnu/packages/julia-xyz.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index f5d2f69997..d673045033 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -804,8 +804,7 @@ (define-public julia-configurations
(add-after 'link-depot 'fix-tests
(lambda _
(substitute* "test/runtests.jl"
- (("option.toml") "test/option.toml"))
- #t))
+ (("option.toml") "test/option.toml"))))
(add-after 'link-depot 'dont-use-exproniconlite
(lambda _
(substitute* '("Project.toml"
@@ -814,8 +813,14 @@ (define-public julia-configurations
(("ExproniconLite") "Expronicon"))
(substitute* "Project.toml"
(("55351af7-c7e9-48d6-89ff-24e801d99491")
- "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636"))
- #t)))))
+ "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636"))))
+ ,@(if (string-prefix? "i686" (or (%current-target-system)
+ (%current-system)))
+ '((add-after 'unpack 'fix-tests-int32-i686
+ (lambda _
+ (substitute* "test/runtests.jl"
+ (("Int64") "Int32")))))
+ '()))))
(propagated-inputs
`(("julia-crayons" ,julia-crayons)
("julia-expronicon" ,julia-expronicon)
--
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 <=
- [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, 2021/12/01
- [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