Skip to content

Commit df3370f

Browse files
committed
ignore mpiexec status
1 parent 3800649 commit df3370f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const TRIXI_NTHREADS = clamp(Sys.CPU_THREADS, 2, 3)
1818
# cf. https://github.com/JuliaParallel/MPI.jl/pull/391
1919
@test true
2020

21-
run(`$(mpiexec()) -n $TRIXI_MPI_NPROCS $(Base.julia_cmd()) --threads=1 --check-bounds=yes $(abspath("test_mpi.jl"))`)
21+
status = run(ignorestatus(`$(mpiexec()) -n $TRIXI_MPI_NPROCS $(Base.julia_cmd()) --threads=1 --check-bounds=yes $(abspath("test_mpi.jl"))`))
22+
@test success(status)
2223
end
2324

2425
@time if TRIXI_TEST == "all" || TRIXI_TEST == "threaded"

test/test_mpi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ outdir = "out"
99
Trixi.mpi_isroot() && isdir(outdir) && rm(outdir, recursive = true)
1010
Trixi.MPI.Barrier(Trixi.mpi_comm())
1111

12-
@testset "MPI tests" begin
12+
@testset verbose=true showtiming=true "MPI tests" begin
1313
#! format: noindent
1414

1515
@trixi_testset "elixir_moist_euler_moist_bubble" begin

test/test_trixi_consistency.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include("test_trixiatmo.jl")
66
outdir = "out"
77
isdir(outdir) && rm(outdir, recursive = true)
88

9-
@trixi_testset "Dry air consistency check" begin
9+
@trixi_testset verbose=true showtiming=true "Dry air consistency check" begin
1010
using Trixi
1111
using TrixiAtmo: CompressibleMoistEulerEquations2D
1212

0 commit comments

Comments
 (0)