Skip to content

Commit

Permalink
Merge branch 'master' into cv/update-script
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed May 9, 2024
2 parents 3f05b08 + df76afe commit 459d5bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ function gen_runner_code(testfilename, logfilename, test_args)
include($(repr(testfilename)))
end
write($(repr(logfilename)), report(ts))
# Flatten before calling `report` to avoid a `deepcopy`.
write($(repr(logfilename)), report(TestReports.flatten_results!(ts)))
any_problems(ts) && exit(TestReports.TESTS_FAILED)
"""
return runner_code
Expand Down

0 comments on commit 459d5bd

Please sign in to comment.