Skip to content

test_runner: move coverage collection to root.postRun()

This commit moves code coverage collection from the test harness exit handler to the postRun() function of the root test.

This is necessary preparatory work for supporting code coverage with --test. The reason is that --test is implemented on top of run(), and that function calls the root test's postRun() function, which outputs the test summary. This happens before the harness exit handler.

Merge request reports

Loading