Skip to content

Commit

Permalink
test: wrap testsets into one testset
Browse files Browse the repository at this point in the history
This is to ensure all testsets run even if one fails as they are
independent
  • Loading branch information
sathvikbhagavan committed Sep 20, 2023
1 parent ae9ce1b commit 3cb750c
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@ for pkg in [
end
end

@time @safetestset "GEKPLS.jl" begin include("GEKPLS.jl") end
@time @safetestset "Radials.jl" begin include("Radials.jl") end
@time @safetestset "Kriging.jl" begin include("Kriging.jl") end
@time @safetestset "Sampling" begin include("sampling.jl") end
@time @safetestset "Optimization" begin include("optimization.jl") end
@time @safetestset "LinearSurrogate" begin include("linearSurrogate.jl") end
@time @safetestset "Lobachevsky" begin include("lobachevsky.jl") end
@time @safetestset "InverseDistanceSurrogate" begin include("inverseDistanceSurrogate.jl") end
@time @safetestset "SecondOrderPolynomialSurrogate" begin include("secondOrderPolynomialSurrogate.jl") end
# @time @safetestset "AD_Compatibility" begin include("AD_compatibility.jl") end
@time @safetestset "Wendland" begin include("Wendland.jl") end
@time @safetestset "VariableFidelity" begin include("VariableFidelity.jl") end
@time @safetestset "Earth" begin include("earth.jl") end
@time @safetestset "Gradient Enhanced Kriging" begin include("GEK.jl") end
@time @safetestset "Section Samplers" begin include("SectionSampleTests.jl") end
@testset "Surrogates" begin
@time @safetestset "GEKPLS" begin include("GEKPLS.jl") end
@time @safetestset "Radials" begin include("Radials.jl") end
@time @safetestset "Kriging" begin include("Kriging.jl") end
@time @safetestset "Sampling" begin include("sampling.jl") end
@time @safetestset "Optimization" begin include("optimization.jl") end
@time @safetestset "LinearSurrogate" begin include("linearSurrogate.jl") end
@time @safetestset "Lobachevsky" begin include("lobachevsky.jl") end
@time @safetestset "InverseDistanceSurrogate" begin include("inverseDistanceSurrogate.jl") end
@time @safetestset "SecondOrderPolynomialSurrogate" begin include("secondOrderPolynomialSurrogate.jl") end
# @time @safetestset "AD_Compatibility" begin include("AD_compatibility.jl") end
@time @safetestset "Wendland" begin include("Wendland.jl") end
@time @safetestset "VariableFidelity" begin include("VariableFidelity.jl") end
@time @safetestset "Earth" begin include("earth.jl") end
@time @safetestset "Gradient Enhanced Kriging" begin include("GEK.jl") end
@time @safetestset "Section Samplers" begin include("SectionSampleTests.jl") end
end

0 comments on commit 3cb750c

Please sign in to comment.