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:
parent
cb45e9e836
commit
61d462706a
|
@ -93,6 +93,7 @@ def coverage(outputs, source_root, subproject_root, build_root, log_dir):
|
||||||
'--output-file', covinfo])
|
'--output-file', covinfo])
|
||||||
subprocess.check_call([genhtml_exe,
|
subprocess.check_call([genhtml_exe,
|
||||||
'--prefix', build_root,
|
'--prefix', build_root,
|
||||||
|
'--prefix', source_root,
|
||||||
'--output-directory', htmloutdir,
|
'--output-directory', htmloutdir,
|
||||||
'--title', 'Code coverage',
|
'--title', 'Code coverage',
|
||||||
'--legend',
|
'--legend',
|
||||||
|
|
Loading…
Reference in New Issue