From dbbc23e6bf975640d96c81087717f800dd000b22 Mon Sep 17 00:00:00 2001 From: Julia Sloan Date: Wed, 14 Dec 2022 08:22:29 -0800 Subject: [PATCH] SafeTestsets used --- test/Project.toml | 1 + test/runtests.jl | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 6c2a594d61..a5b7f61099 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -11,5 +11,6 @@ MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" diff --git a/test/runtests.jl b/test/runtests.jl index cbd8bee10f..afd4babdf3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,15 @@ -include("CoupledSimulations/clock.jl") -include("CouplerState/cplstate_interface.jl") +using SafeTestsets + +@safetestset "Clock tests" begin + include("CoupledSimulations/clock.jl") +end +@safetestset "CouplerState tests" begin + include("CouplerState/cplstate_interface.jl") +end +@safetestset "Regridder tests" begin + include("regridder_tests.jl") +end +@safetestset "ConservationChecker tests" begin + include("conservation_checker_tests.jl") +end # include("CoupledSimulations/cplsolver.jl") -include("regridder_tests.jl") -include("conservation_checker_tests.jl")