Skip to content

Commit 7ccafb0

Browse files
committed
Fix mpiexec deprecation in tests
1 parent 5080dac commit 7ccafb0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/hypretests.jl

+2-4
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,5 @@ test_interface(HYPREAlgorithm(HYPRE.PCG(comm)), Pl = HYPRE.BoomerAMG())
168168

169169
# Test MPI execution
170170
mpitestfile = joinpath(@__DIR__, "hypretests_mpi.jl")
171-
mpiexec() do mpi
172-
r = run(ignorestatus(`$(mpi) -n 2 $(Base.julia_cmd()) $(mpitestfile)`))
173-
@test r.exitcode == 0
174-
end
171+
r = run(ignorestatus(`$(mpiexec()) -n 2 $(Base.julia_cmd()) $(mpitestfile)`))
172+
@test r.exitcode == 0

0 commit comments

Comments
 (0)