pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Allow tracking of code test coverage with gcov + gcovr #188

Closed trevilo closed 1 year ago

trevilo commented 1 year ago

This PR adds support for code coverage tracking. To use the coverage tracking, add --enable-coverage at configure time and then do make coverage, which will compile with --coverage, run the tests with make check and generate a coverage report using gcovr. The gcovr utility (https://gcovr.com/en/stable/) has also been added to the test container.