Excluded tests and test utils from code coverage by generate_coverage_command.py
Bug: chromium:844647 Change-Id: I3b99cfcbeae99794f9600f232b560c47efeebc57 Reviewed-on: https://webrtc-review.googlesource.com/99682 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24692}
This commit is contained in:
@ -40,7 +40,7 @@ TESTS = [
|
|||||||
def main():
|
def main():
|
||||||
cmd = ([sys.executable, 'tools/code_coverage/coverage.py'] + TESTS +
|
cmd = ([sys.executable, 'tools/code_coverage/coverage.py'] + TESTS +
|
||||||
['-b out/coverage', '-o out/report'] +
|
['-b out/coverage', '-o out/report'] +
|
||||||
['-i=\'.*/out/.*|.*/third_party/.*\''] +
|
['-i=\'.*/out/.*|.*/third_party/.*|.*test.*\''] +
|
||||||
['-c \'out/coverage/%s\'' % t for t in TESTS])
|
['-c \'out/coverage/%s\'' % t for t in TESTS])
|
||||||
|
|
||||||
def WithXvfb(binary):
|
def WithXvfb(binary):
|
||||||
|
Reference in New Issue
Block a user