Skip to content

Commit

Permalink
testad first, unexpectly slow when running testXXX.jl before testad
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Jun 6, 2024
1 parent b6dd831 commit e74a4be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ end
@time begin
@time @testset "Model Struct Tests" begin include("modelstructtests.jl") end

# AD test first
@time include("testad.jl")
@time include("testad2.jl")

# test each individual cases, name with test[0-9]*.jl
testsolutions = searchdir("./", r"test[0-9]*.jl")
@time @testset "Model Solution Tests" begin
Expand All @@ -16,10 +20,6 @@ end
end
end

# AD test
@time include("testad.jl")
@time include("testad2.jl")

# GPU test
#@time include("testGPU.jl")
end

0 comments on commit e74a4be

Please sign in to comment.