Add code coverage configuration file

Exclude build/ from code coverage, otherwise build/pnp-id-table.c
is included in the stats. Also add subprojects/ which is added by
default by Meson unless there is a custom config file.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2023-01-07 13:47:28 +01:00
parent 4a8684d1b0
commit 3b83980dde

2
gcovr.cfg Normal file
View file

@ -0,0 +1,2 @@
exclude = subprojects/
exclude = build/