summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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