diff options
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Feature-autodetection.md | 2 | ||||
-rw-r--r-- | docs/markdown/Unit-tests.md | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Feature-autodetection.md b/docs/markdown/Feature-autodetection.md index 4d366d9..2371226 100644 --- a/docs/markdown/Feature-autodetection.md +++ b/docs/markdown/Feature-autodetection.md @@ -26,6 +26,8 @@ Coverage When doing a code coverage build, Meson will check for existence of the binaries `gcovr`, `lcov` and `genhtml`. If version 3.3 or higher of the first is found, targets called *coverage-text*, *coverage-xml* +and *coverage-html* are generated. If version 4.2 or higher of the +first is found, targets *coverage-text*, *coverage-xml*, *coverage-sonarqube* and *coverage-html* are generated. Alternatively, if the latter two are found, only the target *coverage-html* is generated. Coverage reports can then be produced simply by calling e.g. `meson compile diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md index 5233a4f..c9856d4 100644 --- a/docs/markdown/Unit-tests.md +++ b/docs/markdown/Unit-tests.md @@ -47,6 +47,7 @@ functions that get called). Meson will autodetect what coverage generator tools you have installed and will generate the corresponding targets. These targets are `coverage-xml` and `coverage-text` which are both provided by [Gcovr](http://gcovr.com) (version 3.3 or higher) +`coverage-sonarqube` which is provided by [Gcovr](http://gcovr.com) (version 4.2 or higher) and `coverage-html`, which requires [Lcov](https://ltp.sourceforge.io/coverage/lcov.php) and [GenHTML](https://linux.die.net/man/1/genhtml) or |