mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 12:49:45 -05:00
gnu: julia-geometrybasics: Fix tests on i686-linux.
* gnu/packages/julia-xyz (julia-geometrybasics)[arguments]<#:phases>: Conditionally replace the incorrect type in test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
eb4f1fcf74
commit
82586916be
1 changed files with 8 additions and 4 deletions
|
@ -1981,14 +1981,18 @@ (define-public julia-geometrybasics
|
|||
(lambda _
|
||||
(substitute* '("Project.toml"
|
||||
"src/GeometryBasics.jl")
|
||||
((".*EarCut.*") ""))
|
||||
#t))
|
||||
((".*EarCut.*") ""))))
|
||||
(add-after 'link-depot 'skip-incompatible-test
|
||||
(lambda _
|
||||
(substitute* "test/runtests.jl"
|
||||
(("@testset.*MetaT and heterogeneous data.*" all)
|
||||
(string-append all "return\n")))
|
||||
#t)))))
|
||||
(string-append all "return\n")))))
|
||||
,@(if (target-64bit?)
|
||||
'()
|
||||
'((add-after 'unpack 'fix-tests-int32-i686
|
||||
(lambda _
|
||||
(substitute* "test/runtests.jl"
|
||||
(("Int64") "Int32")))))))))
|
||||
(propagated-inputs
|
||||
`(("julia-itertools" ,julia-itertools)
|
||||
("julia-staticarrays" ,julia-staticarrays)
|
||||
|
|
Loading…
Reference in a new issue