diff --git a/test/runtests.jl b/test/runtests.jl index 1ec94c5794..6033500ca6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1774,9 +1774,7 @@ end testdir = @__DIR__ # Test parsing include("mpi.jl") - mpiexec() do cmd - run(`$cmd -n 2 $(Base.julia_cmd()) --project=$testdir $testdir/mpi.jl`) - end + success(pipeline(`$(mpiexec()) -n 2 $(Base.julia_cmd()) --project=$testdir $testdir/mpi.jl`; stderr)) @test true end