aboutsummaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-10-04 17:35:16 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:07 -0400
commitbf0e56a3ca7b6ede730ec754a95aee7f95815735 (patch)
treea4ed01ce0197d11152eed4cbaf20441a37ca7102 /docs/devel
parentda6d48b969b9fe8f842434375a817db02d158973 (diff)
downloadqemu-bf0e56a3ca7b6ede730ec754a95aee7f95815735.zip
qemu-bf0e56a3ca7b6ede730ec754a95aee7f95815735.tar.gz
qemu-bf0e56a3ca7b6ede730ec754a95aee7f95815735.tar.bz2
meson: use coverage option
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/testing.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index c1ff243..a426469 100644
--- a/docs/devel/testing.rst
+++ b/docs/devel/testing.rst
@@ -164,13 +164,12 @@ instrumenting the tested code. To use it, configure QEMU with
``--enable-gcov`` option and build. Then run ``make check`` as usual.
If you want to gather coverage information on a single test the ``make
-clean-coverage`` target can be used to delete any existing coverage
+clean-gcda`` target can be used to delete any existing coverage
information before running a single test.
You can generate a HTML coverage report by executing ``make
-coverage-report`` which will create
-./reports/coverage/coverage-report.html. If you want to create it
-elsewhere simply execute ``make /foo/bar/baz/coverage-report.html``.
+coverage-html`` which will create
+``meson-logs/coveragereport/index.html``.
Further analysis can be conducted by running the ``gcov`` command
directly on the various .gcda output files. Please read the ``gcov``