aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalkusz <ewelinax.walkusz@intel.com>2024-06-20 16:33:30 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-23 12:35:49 +0300
commit783183260d64e9d5a73b8f2cc69475b126dcebb0 (patch)
treea8f5039f7a5383c2246d391989affe2751384df2
parent5597b6711ddb05499a9d42a5d16ff3be9d549fe8 (diff)
downloadmeson-783183260d64e9d5a73b8f2cc69475b126dcebb0.zip
meson-783183260d64e9d5a73b8f2cc69475b126dcebb0.tar.gz
meson-783183260d64e9d5a73b8f2cc69475b126dcebb0.tar.bz2
coverage: Change --html-details to --html-nested (gcovr)
--html-nested option is used to create a separate web page for each file and directory. Each of these web pages includes the contents of file with annotations that summarize code coverage. Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>
-rw-r--r--mesonbuild/scripts/coverage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/coverage.py b/mesonbuild/scripts/coverage.py
index bded052..17a4a10 100644
--- a/mesonbuild/scripts/coverage.py
+++ b/mesonbuild/scripts/coverage.py
@@ -161,7 +161,7 @@ def coverage(outputs: T.List[str], source_root: str, subproject_root: str, build
os.mkdir(htmloutdir)
subprocess.check_call(gcovr_base_cmd + gcovr_config +
['--html',
- '--html-details',
+ '--html-nested',
'--print-summary',
'-o', os.path.join(htmloutdir, 'index.html'),
] + gcov_exe_args)