-
Notifications
You must be signed in to change notification settings - Fork 17
/
runtests.jl
42 lines (38 loc) · 1.05 KB
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using Polymake
using Test
using CxxWrap
# make wrapper compilation verbose on CI
if (haskey(ENV, "GITHUB_ACTIONS"))
Polymake.shell_execute(raw"$Verbose::cpp=3;")
end
struct MyInt x::Int end # needed in test/convert.jl
@testset "Polymake" begin
include("integers.jl")
include("rationals.jl")
include("quadraticextension.jl")
include("vectors.jl")
include("sparsevector.jl")
include("matrices.jl")
include("sets.jl")
include("arrays.jl")
include("incidencematrix.jl")
include("convert.jl")
include("perlobj.jl")
include("util.jl")
include("interface_functions.jl")
include("sparsematrix.jl")
include("tropicalnumber.jl")
include("polynomial.jl")
include("pairs.jl")
include("lists.jl")
include("map.jl")
include("graphs.jl")
include("homologygroup.jl")
if get(ENV, "POLYDB_TEST_URI", "") != ""
include("polydb.jl")
end
end
# reset verbose wrapper compilation on CI
if (haskey(ENV, "GITHUB_ACTIONS"))
Polymake.shell_execute(raw"reset_custom $Verbose::cpp;")
end