summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 02:20:12 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 02:20:12 +0000
commit49605eeef01a02e980a689ec7047cf5b60781993 (patch)
tree5e7b688432727298d543669e584a7efb08869048 /tools
parent06e49109cae0b673fb0c021c2673653a9e61d128 (diff)
downloadchromium_src-49605eeef01a02e980a689ec7047cf5b60781993.zip
chromium_src-49605eeef01a02e980a689ec7047cf5b60781993.tar.gz
chromium_src-49605eeef01a02e980a689ec7047cf5b60781993.tar.bz2
Turn off exclusions for windows coverage
Review URL: http://codereview.chromium.org/455040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-xtools/code_coverage/coverage_posix.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py
index 9d107d1..ec90f07 100755
--- a/tools/code_coverage/coverage_posix.py
+++ b/tools/code_coverage/coverage_posix.py
@@ -145,12 +145,14 @@ class Coverage(object):
def TrimTests(self):
"""Trim specific tests for each platform."""
if self.IsWindows():
- # special case for now to be fast
+ return
+ # Special case to be fast, as needed...
+ # TODO(jrg): remove
inclusion = ['base_unittests']
keep = []
for test in self.tests:
for i in inclusion:
- if test.endswith(i):
+ if i in test:
keep.append(test)
self.tests = keep
return