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.
pull/4646/head
William A. Kennington III 6 years ago committed by Jussi Pakkanen
parent cb45e9e836
commit 61d462706a
  1. 1
      mesonbuild/scripts/coverage.py

@ -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',

Loading…
Cancel
Save