Skip to content

Commit

Permalink
fix for mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
epolack committed Feb 8, 2024
1 parent e7a3d62 commit b9b052e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/runtests_runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ function run_tests()
catch err
Base.showerror(stderr, err, Base.catch_backtrace())
end
println()

lines = split(output, "\n")
# Print failed tests.
println()
for id in findall(occursin.("Test Failed", lines))
id_context = id
while !isempty(lines[id_context])
Expand All @@ -50,7 +51,9 @@ function run_tests()
end
# Print the summary.
idx = findfirst(occursin.(r"^Test Summary:", lines))
println(join(lines[idx:end], "\n"))
if !isnothing(idx)
println(join(lines[idx:end], "\n"))
end
end

run_tests()

0 comments on commit b9b052e

Please sign in to comment.