<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/scripts/coverage, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/scripts/coverage?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/scripts/coverage?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2023-04-04T14:16:29Z</updated>
<entry>
<title>scripts/coverage: initial coverage comparison script</title>
<updated>2023-04-04T14:16:29Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-04-03T13:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=899c3fc2dc66f6fd152322504eb321da4020ecd1'/>
<id>urn:sha1:899c3fc2dc66f6fd152322504eb321da4020ecd1</id>
<content type='text'>
This is a very rough and ready first pass at comparing gcovr's json
output between two different runs. At the moment it will give you a
file level diff between two runs but hopefully it wont be too hard to
extend 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.json

My hope is we can use this to remove some redundancy from testing as
well as evaluate if new tests are actually providing additional
coverage or just burning our precious CI time.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Kautuk Consul &lt;kconsul@linux.vnet.ibm.com&gt;
Acked-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20230403134920.2132362-2-alex.bennee@linaro.org&gt;
</content>
</entry>
</feed>
