]> xenbits.xensource.com Git - qemu-xen.git/commit
python/aqmp: Add Coverage.py support
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Sep 2021 16:29:55 +0000 (12:29 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commita4ffaecd5726433f01b0ff857054acad9dc9df12
treec5d4eb8b4e37d91df07d3550f5cdabba3d170061
parent8193b9d148e0d42794b78ab040c804db15b5f524
python/aqmp: Add Coverage.py support

I'm not exposing this via the Makefile help, it's not likely to be
useful to passersby. Switch the avocado runner to the 'legacy' runner
for now, as the new runner seems to obscure coverage reports, again.

Usage is to enter your venv of choice and then:
`make check-coverage && xdg-open htmlcov/index.html`.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-28-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/.gitignore
python/Makefile
python/avocado.cfg
python/setup.cfg