Support excluding certain files and directories from code coverage report |
||||
Issue descriptionTwo important use cases: 1. exclude test files. 2. exclude out/ folder, which has a lot of dynamically generated source files, and this can significantly increase the speed of generating reports.
,
Feb 26 2018
,
Apr 14 2018
Yuke, looks like the clang roll ( issue 828582 ) is going to stick, so we can start using that feature next week. Do you know which files / folders we can safely always ignore?
,
Apr 17 2018
Do not exclude anything by default, but proxy the llvm-cov option for ignoring sources to the script users.
,
Apr 17 2018
,
Apr 18 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0e4c8683be42d57926923f939e35e8a0cf506149 commit 0e4c8683be42d57926923f939e35e8a0cf506149 Author: Yuke Liao <liaoyuke@chromium.org> Date: Wed Apr 18 21:06:59 2018 [Coverage] Add ignore_filename_regex argument to coverage script. This argument enables excluding certain files and folders from code coverage report using regular expression. Bug: 813123 Change-Id: I13343645ba1e3e67dfc17932bc97113600a69095 Reviewed-on: https://chromium-review.googlesource.com/1017382 Reviewed-by: Max Moroz <mmoroz@chromium.org> Commit-Queue: Yuke Liao <liaoyuke@chromium.org> Cr-Commit-Position: refs/heads/master@{#551822} [modify] https://crrev.com/0e4c8683be42d57926923f939e35e8a0cf506149/tools/code_coverage/coverage.py
,
Apr 18 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by liaoyuke@chromium.org
, Feb 26 2018