-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathruntests.jl
More file actions
64 lines (60 loc) · 1.88 KB
/
Copy pathruntests.jl
File metadata and controls
64 lines (60 loc) · 1.88 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using SymbolicIndexingInterface
using SafeTestsets
using Test
using Pkg
const GROUP = get(ENV, "GROUP", "All")
function activate_downstream_env()
Pkg.activate("downstream")
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
Pkg.instantiate()
end
if GROUP == "All" || GROUP == "Core"
@safetestset "Quality Assurance" begin
@time include("qa.jl")
end
@safetestset "Interface test" begin
@time include("example_test.jl")
end
@safetestset "Trait test" begin
@time include("trait_test.jl")
end
@safetestset "SymbolCache test" begin
@time include("symbol_cache_test.jl")
end
@safetestset "Fallback test" begin
@time include("fallback_test.jl")
end
@safetestset "ParameterTimeseriesCollection test" begin
@time include("parameter_timeseries_collection_test.jl")
end
@safetestset "Parameter indexing test" begin
@time include("parameter_indexing_test.jl")
end
@safetestset "State indexing test" begin
@time include("state_indexing_test.jl")
end
@safetestset "Remake test" begin
@time include("remake_test.jl")
end
@safetestset "ProblemState test" begin
@time include("problem_state_test.jl")
end
@safetestset "BatchedInterface test" begin
@time include("batched_interface_test.jl")
end
@safetestset "Simple Adjoints test" begin
@time include("simple_adjoints_test.jl")
end
end
if GROUP == "All" || GROUP == "Downstream"
activate_downstream_env()
@safetestset "BatchedInterface with array symbolics test" begin
@time include("downstream/batchedinterface_arrayvars.jl")
end
@safetestset "Remake with array symbolics test" begin
@time include("downstream/remake_arrayvars.jl")
end
@safetestset "MTK interface tests" begin
@time include("downstream/interface_tests.jl")
end
end