diff options
| author | Esther Dalhuisen <wakeofluna@astralkey.nl> | 2024-02-15 18:08:19 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-16 01:32:26 -0500 |
| commit | abdb3afd7302147fac27551ada8cb91173194133 (patch) | |
| tree | 491156fd4e575b40a78484e7e184c8d831ee21d0 | |
| parent | c80ece2410064b396baedd2da0bb8484e102a5dd (diff) | |
| download | meson-abdb3afd7302147fac27551ada8cb91173194133.tar.gz | |
coverage: pass .lcovrc config file to genhtml
The .lcovrc file can contain several directives for genhtml, mostly
pertaining the visualisation of the generated HTML report. Passing the
config file to genhtml allows the user to customize their report.
Fixes #12863
| -rw-r--r-- | mesonbuild/scripts/coverage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/coverage.py b/mesonbuild/scripts/coverage.py index d89213065..2375e453e 100644 --- a/mesonbuild/scripts/coverage.py +++ b/mesonbuild/scripts/coverage.py @@ -145,7 +145,7 @@ def coverage(outputs: T.List[str], source_root: str, subproject_root: str, build '--legend', '--show-details', '--branch-coverage', - covinfo]) + covinfo] + lcov_config) outfiles.append(('Html', pathlib.Path(htmloutdir, 'index.html'))) elif gcovr_exe and mesonlib.version_compare(gcovr_version, '>=3.3'): htmloutdir = os.path.join(log_dir, 'coveragereport') |
