Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Nov 16, 2023
1 parent 1b1b2f6 commit fcad41b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions test/test_special_elixirs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ coverage = occursin("--code-coverage", cmd) && !occursin("--code-coverage=none",
# the convergence test logic
@test_nowarn_mod convergence_test(@__MODULE__,
joinpath(EXAMPLES_DIR, "tree_2d_dgsem",
"elixir_advection_basic.jl"), 2,
tspan = (0.0, 0.01))
"elixir_advection_basic.jl"), 2)
@test_nowarn_mod convergence_test(@__MODULE__,
joinpath(EXAMPLES_DIR, "tree_2d_dgsem",
"elixir_advection_extended.jl"), 2,
Expand Down Expand Up @@ -345,8 +344,8 @@ end
end

@timed_testset "elixir_euler_ad.jl" begin
@test_trixi_include(joinpath(examples_dir(), "special_elixirs",
"elixir_euler_ad.jl"))
@test_nowarn trixi_include(joinpath(examples_dir(), "special_elixirs",
"elixir_euler_ad.jl"))
end
end
end
Expand Down
3 changes: 1 addition & 2 deletions test/test_visualization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ end

@test_nowarn_mod trixi_include(@__MODULE__,
joinpath(examples_dir(), "structured_3d_dgsem",
"elixir_advection_basic.jl"),
tspan = (0, 0.1))
"elixir_advection_basic.jl"))

@testset "1D plot from 3D solution and general mesh" begin
@testset "Create 1D plot as slice" begin
Expand Down

0 comments on commit fcad41b

Please sign in to comment.