Fix html coverage report generation when using clang on linux

pull/11585/head
Jakob Widauer 2 years ago committed by Eli Schwartz
parent e1de1bae09
commit 07bd28732e
  1. 2
      mesonbuild/scripts/coverage.py

@ -157,7 +157,7 @@ def coverage(outputs: T.List[str], source_root: str, subproject_root: str, build
'--html-details', '--html-details',
'--print-summary', '--print-summary',
'-o', os.path.join(htmloutdir, 'index.html'), '-o', os.path.join(htmloutdir, 'index.html'),
]) ] + gcov_exe_args)
outfiles.append(('Html', pathlib.Path(htmloutdir, 'index.html'))) outfiles.append(('Html', pathlib.Path(htmloutdir, 'index.html')))
elif outputs: elif outputs:
print('lcov/genhtml or gcovr >= 3.3 needed to generate Html coverage report') print('lcov/genhtml or gcovr >= 3.3 needed to generate Html coverage report')

Loading…
Cancel
Save