gnucash/libgnucash
John Ralls 6834cb5025 Implement coverage option
To use pass -DCMAKE_BUILD_TYPE=Debug or Asan -DCOVERAGE=ON and build as
usual, then do ninja lcov-initialize && ninja check && ninja
lcov-collect. The result will be a directory, <Builddir>/Coverage
containing lcov tracefiles, including an aggregate file gnucash.info
which you can use for further processing. It will also report an overall summary.
Note that only C/C++ files are included.

There's one more target, lcov-generate-html, that you can run after
lcov-collect. It will generate a simple website in
<Builddir>/Coverage-HTML showing coverage by source directory (the
directories in <Builddir> have coverage for generated files). Each
directory path is a clickable link to a page that shows coverage for
each source file; the filenames link to a page for each showing which
lines have been exercised.
2023-12-08 14:53:02 -08:00
..
app-utils Implement coverage option 2023-12-08 14:53:02 -08:00
backend Implement coverage option 2023-12-08 14:53:02 -08:00
core-utils Implement coverage option 2023-12-08 14:53:02 -08:00
doc Fix some typos 2023-01-26 13:48:58 +01:00
engine Implement coverage option 2023-12-08 14:53:02 -08:00
gnc-module Implement coverage option 2023-12-08 14:53:02 -08:00
quotes Add JSON::Parse to gnc-fq-update. 2023-03-10 12:51:30 -08:00
tax Implement coverage option 2023-12-08 14:53:02 -08:00
CMakeLists.txt libgnucash/scm - move to bindings/guile 2019-12-06 19:59:11 +01:00