diff --git a/test/hypretests.jl b/test/hypretests.jl index c41079c1..da7e7e3a 100644 --- a/test/hypretests.jl +++ b/test/hypretests.jl @@ -168,7 +168,5 @@ test_interface(HYPREAlgorithm(HYPRE.PCG(comm)), Pl = HYPRE.BoomerAMG()) # Test MPI execution mpitestfile = joinpath(@__DIR__, "hypretests_mpi.jl") -mpiexec() do mpi - r = run(ignorestatus(`$(mpi) -n 2 $(Base.julia_cmd()) $(mpitestfile)`)) - @test r.exitcode == 0 -end +r = run(ignorestatus(`$(mpiexec()) -n 2 $(Base.julia_cmd()) $(mpitestfile)`)) +@test r.exitcode == 0