Commit b7ebdaa8 authored by pshenoy@chromium.org's avatar pshenoy@chromium.org

Added pyautolib (dependency to run pyauto tests) to coverage_build target.

Review URL: https://chromiumcodereview.appspot.com/10533095

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141691 0039d316-1c4b-4281-b951-d872f2087c98
parent 31b361d0
...@@ -4595,6 +4595,7 @@ ...@@ -4595,6 +4595,7 @@
'safe_browsing_tests', 'safe_browsing_tests',
'sync_integration_tests', 'sync_integration_tests',
'../third_party/WebKit/Source/WebKit/chromium/WebKitUnitTests.gyp:webkit_unit_tests', '../third_party/WebKit/Source/WebKit/chromium/WebKitUnitTests.gyp:webkit_unit_tests',
'pyautolib',
]}], ]}],
['OS=="mac"', { ['OS=="mac"', {
'dependencies': [ 'dependencies': [
......
...@@ -483,9 +483,12 @@ class Coverage(object): ...@@ -483,9 +483,12 @@ class Coverage(object):
if mo: if mo:
gtest_filter = mo.group(2) gtest_filter = mo.group(2)
testname = mo.group(1) testname = mo.group(1)
if ':' in testname: if ':' in testname:
testname = testname.split(':')[1] 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)] self.tests += [os.path.join(self.directory, testname)]
if gtest_filter: if gtest_filter:
self.test_filters[testname] = gtest_filter self.test_filters[testname] = gtest_filter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment