5 Commits

Author SHA1 Message Date
Gereon Kremer
8ccd2a7327 Produce intermediate json output for coverage (#8252)
This splits the generation of coverage information into two steps, generating an intermediate json file. This allows further tooling to used this json information: we plan to check whether the APIs (and their tests) are complete by looking at their code coverage within the cpp api.
2022-03-08 23:19:36 +00:00
Gereon Kremer
23f2844de3 Script to list not covered API functions (#8254)
Adds a script that lists all functions from the cpp API not covered by the current coverage information.
2022-03-08 02:13:43 +00:00
Mathias Preiner
0a88346eb4 cmake: Use fastcov for generating coverage reports. (#7594)
fastcov is a parallelized gcov wrapper.
2021-11-09 00:01:18 +00:00
Mathias Preiner
a0ed9d5b51 cmake: Add new code coverage targets. (#6796)
This commit adds the following new code coverage targets:

- coverage-reset: Resets the code coverage counters

- coverage: Generates code coverage report for all cvc5 executions since the
            last coverage-reset

- coverage-test: This was previously the coverage target that runs the
                 tests and generates the coverage report (as used for
                 nightlies).

By using `make coverage-reset` and `make coverage` it is now possible to
generate coverage reports for arbitrary executions of cvc5.
2021-06-24 14:04:13 -07:00
Aina Niemetz
fccf3d6251 cmake: Added support for coverage and profiling. 2018-09-22 16:30:59 -07:00