scripts/coverage: initial coverage comparison scriptThis is a very rough and ready first pass at comparing gcovr's jsonoutput between two different runs. At the moment it will give you afile leve
scripts/coverage: initial coverage comparison scriptThis is a very rough and ready first pass at comparing gcovr's jsonoutput between two different runs. At the moment it will give you afile level diff between two runs but hopefully it wont be too hard toextend to give better insight.After generating the coverage results you run with something like: ./scripts/coverage/compare_gcov_json.py \ -a ./builds/gcov.config1/coverage.json \ -b ./builds/gcov.config2/coverage.jsonMy hope is we can use this to remove some redundancy from testing aswell as evaluate if new tests are actually providing additionalcoverage or just burning our precious CI time.Signed-off-by: Alex Bennée <alex.bennee@linaro.org>Cc: Kautuk Consul <kconsul@linux.vnet.ibm.com>Acked-by: Thomas Huth <thuth@redhat.com>Message-Id: <20230403134920.2132362-2-alex.bennee@linaro.org>
show more ...