aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Feature-autodetection.md
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2018-02-27 21:46:08 +0100
committerJoel Klinghed <the_jk@spawned.biz>2018-02-27 21:58:05 +0100
commit6266089866469c2a2d298b79df74d2aad86bbeea (patch)
treedfdcd675b8a367c6433f7e3aa034a283be6379d7 /docs/markdown/Feature-autodetection.md
parentda017702613d718ac69ae213ee91358566f7b622 (diff)
downloadmeson-6266089866469c2a2d298b79df74d2aad86bbeea.zip
meson-6266089866469c2a2d298b79df74d2aad86bbeea.tar.gz
meson-6266089866469c2a2d298b79df74d2aad86bbeea.tar.bz2
Allow gcovr >= 3.1 to be used to generate html coverage report
Modern gcovr includes html generation support so if lcov and genhtml are not available fallback to gcovr. Kept lcov and genhtml as default so to not surprise existing users of coverage-html with the different output of gcovr. gcovr added html support in 3.0 but as there already is a test for 3.1 because of the changes to -r/--rootdir I opted to only allow html generation for >= 3.1 to keep things simple.
Diffstat (limited to 'docs/markdown/Feature-autodetection.md')
-rw-r--r--docs/markdown/Feature-autodetection.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Feature-autodetection.md b/docs/markdown/Feature-autodetection.md
index 65318ec..f865174 100644
--- a/docs/markdown/Feature-autodetection.md
+++ b/docs/markdown/Feature-autodetection.md
@@ -16,4 +16,4 @@ If you do not wish to use CCache for some reason, just specify your compiler wit
Coverage
--
-When doing a code coverage build, Meson will check the existence of binaries `gcovr`, `lcov` and `genhtml`. If the first one is found, it will create targets called *coverage-text* and *coverage-xml*. If the latter two are found, it generates the target *coverage-html*. You can then generate coverage reports just by calling e.g. `ninja coverage-xml`.
+When doing a code coverage build, Meson will check the existence of binaries `gcovr`, `lcov` and `genhtml`. If the first one is found, it will create targets called *coverage-text* and *coverage-xml*. If the latter two or a new enough `gcovr` is found, it generates the target *coverage-html*. You can then generate coverage reports just by calling e.g. `ninja coverage-xml`.