-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathruntests.jl
More file actions
48 lines (41 loc) · 1.14 KB
/
runtests.jl
File metadata and controls
48 lines (41 loc) · 1.14 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
using ADTypes
using DifferentiationInterface
using DifferentiationInterfaceTest
using Pkg
using SparseConnectivityTracer
using Test
using DifferentiationInterfaceTest:
default_scenarios,
sparse_scenarios,
complex_scenarios,
complex_sparse_scenarios,
static_scenarios,
component_scenarios,
gpu_scenarios
GROUP = get(ENV, "JULIA_DIT_TEST_GROUP", "All")
## Main tests
@time @testset verbose = true "DifferentiationInterfaceTest.jl" begin
if GROUP == "Formalities" || GROUP == "All"
@testset verbose = true "Formalities" begin
include("formalities.jl")
end
@testset verbose = true "Scenarios" begin
include("scenario.jl")
end
end
if GROUP == "Zero" || GROUP == "All"
@testset verbose = true "Zero" begin
include("zero_backends.jl")
end
end
if GROUP == "Standard" || GROUP == "All"
@testset verbose = true "Standard" begin
include("standard.jl")
end
end
if GROUP == "Weird" || GROUP == "All"
@testset verbose = true "Weird" begin
include("weird.jl")
end
end
end;