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>master
parent
eb4f1fcf74
commit
82586916be
|
@ -1981,14 +1981,18 @@ matrices the Schur form is often more useful.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* '("Project.toml"
|
(substitute* '("Project.toml"
|
||||||
"src/GeometryBasics.jl")
|
"src/GeometryBasics.jl")
|
||||||
((".*EarCut.*") ""))
|
((".*EarCut.*") ""))))
|
||||||
#t))
|
|
||||||
(add-after 'link-depot 'skip-incompatible-test
|
(add-after 'link-depot 'skip-incompatible-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "test/runtests.jl"
|
(substitute* "test/runtests.jl"
|
||||||
(("@testset.*MetaT and heterogeneous data.*" all)
|
(("@testset.*MetaT and heterogeneous data.*" all)
|
||||||
(string-append all "return\n")))
|
(string-append all "return\n")))))
|
||||||
#t)))))
|
,@(if (target-64bit?)
|
||||||
|
'()
|
||||||
|
'((add-after 'unpack 'fix-tests-int32-i686
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/runtests.jl"
|
||||||
|
(("Int64") "Int32")))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("julia-itertools" ,julia-itertools)
|
`(("julia-itertools" ,julia-itertools)
|
||||||
("julia-staticarrays" ,julia-staticarrays)
|
("julia-staticarrays" ,julia-staticarrays)
|
||||||
|
|
Reference in New Issue