diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-12-01 16:53:51 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-12-04 19:50:30 +0200 |
commit | dbad333481d9ae863aea6b983cbcf3734f15ba12 (patch) | |
tree | c1ec199252169a103ced07b2f896091d52864434 /gnu | |
parent | a31a4517b612935c6a6e4ef5caf5849fcdf56cc2 (diff) | |
download | guix-dbad333481d9ae863aea6b983cbcf3734f15ba12.tar.gz |
gnu: julia-configurations: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-configurations)[arguments]<#:phases>: Conditionally replace the incorrect type in test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 0a57f28c94..f54825207b 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -803,8 +803,7 @@ way.") (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" @@ -813,8 +812,13 @@ way.") (("ExproniconLite") "Expronicon")) (substitute* "Project.toml" (("55351af7-c7e9-48d6-89ff-24e801d99491") - "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636")) - #t))))) + "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636")))) + ,@(if (target-64bit?) + '() + '((add-after 'unpack 'fix-tests-int32-i686 + (lambda _ + (substitute* "test/runtests.jl" + (("Int64") "Int32"))))))))) (propagated-inputs `(("julia-crayons" ,julia-crayons) ("julia-expronicon" ,julia-expronicon) |