summaryrefslogtreecommitdiff
path: root/tools/coverage
AgeCommit message (Collapse)Author
2017-07-31More fixes for coverage_report.pyRyan Harrison
Change the defaults for the directory arguments to be lists, since that is what argparse gives when the user provides a value. Also changed type of os.mkdirs to os.makedirs. Bug: Change-Id: I04c15323efedc9483327c01bab18d45ffffdc21b Reviewed-on: https://pdfium-review.googlesource.com/9590 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2017-07-28Fix broken coverage_report.pyRyan Harrison
It appears that some of my final changes to coverage_report.py didn't make it into the patch that I submitted. This means that the current version of the script in the repo does not work. Bug: Change-Id: I8822840f8e3d9b6f75224bb811209860c8191026 Reviewed-on: https://pdfium-review.googlesource.com/9511 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2017-07-18Add tools for generating coverage informationRyan Harrison
Adds script coverage_report.py for generating code coverage reports. This script depends on the llvm-gcov wrapper script and the lcovrc config file that are checked in with it. BUG=pdfium:797 Change-Id: I0416349186835c0e4dd7f4907d2b472a4406e027 Reviewed-on: https://pdfium-review.googlesource.com/7810 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>