coverage: Also remove source_root prefixes

The code our projects care about verifying coverage for mostly lives in
the source_root with the exception of the generated source files in
build_root. This change cleans up the output so we don't have prefixed
paths on our source files anymore.
This commit is contained in:
William A. Kennington III 2018-12-05 13:32:15 -08:00 committed by Jussi Pakkanen
parent cb45e9e836
commit 61d462706a
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ def coverage(outputs, source_root, subproject_root, build_root, log_dir):
'--output-file', covinfo])
subprocess.check_call([genhtml_exe,
'--prefix', build_root,
'--prefix', source_root,
'--output-directory', htmloutdir,
'--title', 'Code coverage',
'--legend',