gnucash/common
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
..
cmake_modules Implement coverage option 2023-12-08 14:53:02 -08:00
debug Fix various typos 2022-04-08 14:12:50 -04:00
test-core Fix cmake warnings while searching for python 2023-08-17 18:23:33 +02:00
base-typemaps.i Remove defective and fortunately unused typemap. 2023-09-10 15:06:46 -07:00
CMakeLists.txt Make swig wrapper generation just another build step 2019-09-21 22:50:51 +02:00
config.h.cmake.in Refactor: Remove some unnecessary uses of memcpy 2023-06-15 11:10:58 +01:00
gnc-test-env.pl Fix typos for gnuchash/ doc/ bindings/ and misc. 2019-09-13 20:26:03 -04:00
guile-mappings.h Redefine some more buggy Guile string conversions. 2018-04-24 17:57:52 -07:00
platform.h gnc-uri - refer to 'scheme' instead of 'protocol' as that's the more formal term used in uris 2018-12-27 22:33:17 +01:00