diff --git a/test/runtests.jl b/test/runtests.jl index a4788ad..e118f43 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,14 +1,14 @@ using Test using LaMEM -include("test_julia_setups.jl") -include("runLaMEM.jl") -include("read_timestep.jl") -include("run_lamem_save_grid_test.jl") -include("mesh_refinement_test.jl") -include("read_logfile.jl") -include("test_compression.jl") -include("test_GeoParams_integration.jl") +#include("test_julia_setups.jl") +#include("runLaMEM.jl") +#include("read_timestep.jl") +#include("run_lamem_save_grid_test.jl") +#include("mesh_refinement_test.jl") +#include("read_logfile.jl") +#include("test_compression.jl") +#include("test_GeoParams_integration.jl") include("test_examples.jl") if !Sys.iswindows() diff --git a/test/test_examples.jl b/test/test_examples.jl index fe822b2..d1d668b 100644 --- a/test/test_examples.jl +++ b/test/test_examples.jl @@ -3,27 +3,19 @@ using Test @testset "examples in /scripts" begin - testing = true # Subduction example @testset "TM_Subduction_example" begin + testing = true include("../scripts/TM_Subduction_example.jl") data,time = read_LaMEM_timestep(model,last=true); @test time ≈ 0.004419778 @test sum(data.fields.velocity[3][:,:,:]) ≈ 708.41907f0 rtol=1e-4 # check Vz end - # FB example - @testset "FB_restart" begin - clean_directory() - include("../scripts/FB_restart.jl") - data,time = read_LaMEM_timestep(model,last=true); - @test time ≈ 63.0025 - @test sum(data.fields.velocity[3][:,:,:]) ≈ 0.07041338f0 rtol=1e-4 # check Vz - end - # 3D subduction example @testset "Subduction3D" begin + testing = true clean_directory() include("../scripts/Subduction3D.jl") data,time = read_LaMEM_timestep(model,last=true); @@ -33,6 +25,7 @@ using Test # Strength envelop example @testset "StrengthEnvelop" begin + testing = true clean_directory() include("../scripts/StrengthEnvelop.jl") data,time = read_LaMEM_timestep(model,last=true);