Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tools/code_coverage/coverage_posix.py

Issue 10533095: Added pyautolib (dependency to run pyauto tests) to coverage_build target. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/code_coverage/coverage_posix.py
===================================================================
--- tools/code_coverage/coverage_posix.py (revision 141527)
+++ tools/code_coverage/coverage_posix.py (working copy)
@@ -483,9 +483,12 @@
if mo:
gtest_filter = mo.group(2)
testname = mo.group(1)
-
if ':' in testname:
testname = testname.split(':')[1]
+ # We need 'pyautolib' to run pyauto tests and 'pyautolib' itself is not an
+ # executable. So skip this test from adding into coverage_bundles.py.
+ if testname == 'pyautolib':
+ continue
self.tests += [os.path.join(self.directory, testname)]
if gtest_filter:
self.test_filters[testname] = gtest_filter
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698