Skip to content

Commit

Permalink
Fix Codecov (#53)
Browse files Browse the repository at this point in the history
Merging this although tests do not pass - which will be fixed in another PR.
  • Loading branch information
luraess authored Mar 4, 2024
2 parents f969da3 + fbfd659 commit bac9ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function runtests()
try
if basename(f) test_distributed
nprocs = contains(f, "2D") ? nprocs_2D : nprocs_3D
cmd(n=nprocs) = `$(mpiexec()) -n $n $exename --startup-file=no --color=yes $(joinpath(testdir, f))`
cmd(n=nprocs) = `$(mpiexec()) -n $n $(Base.julia_cmd()) --startup-file=no --color=yes $(joinpath(testdir, f))`
run(cmd())
else
run(`$exename --startup-file=no $(joinpath(testdir, f))`)
run(`$(Base.julia_cmd()) --startup-file=no $(joinpath(testdir, f))`)
end
catch ex
@error ex
Expand Down

0 comments on commit bac9ffa

Please sign in to comment.