Disable IPCSyncChannelTest.* under Valgrind

Times out too often under Valgrind on Mac
Tracking bug: crbug.com/15817

Review URL: http://codereview.chromium.org/150218

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19846 0039d316-1c4b-4281-b951-d872f2087c98
parent 583f25b4
# Takes 65 seconds to run. # Takes 65 seconds to run.
IPCSyncChannelTest.ChattyServer IPCSyncChannelTest.ChattyServer
# See http://crbug.com/15445
# Only fails on the bots?
BookmarkEditorGtkTest.*
# See http://crbug.com/15445
# Only fails on the bots?
BookmarkEditorGtkTest.*
# Times out too often
# crbug.com/15817
IPCSyncChannelTest.*
...@@ -188,15 +188,20 @@ class ChromeTests: ...@@ -188,15 +188,20 @@ class ChromeTests:
''' '''
filters = [] filters = []
for directory in self._data_dirs: for directory in self._data_dirs:
filename = os.path.join(directory, name + ".gtest.txt") platform_suffix = {'darwin': 'mac',
if os.path.exists(filename): 'linux2': 'linux'}[sys.platform]
logging.info("reading gtest filters from %s" % filename) gtest_filter_files = [
f = open(filename, 'r') os.path.join(directory, name + ".gtest.txt"),
for line in f.readlines(): os.path.join(directory, name + ".gtest_%s.txt" % platform_suffix)]
if line.startswith("#") or line.startswith("//") or line.isspace(): for filename in gtest_filter_files:
continue if os.path.exists(filename):
line = line.rstrip() logging.info("reading gtest filters from %s" % filename)
filters.append(line) f = open(filename, 'r')
for line in f.readlines():
if line.startswith("#") or line.startswith("//") or line.isspace():
continue
line = line.rstrip()
filters.append(line)
gtest_filter = self._options.gtest_filter gtest_filter = self._options.gtest_filter
if len(filters): if len(filters):
if gtest_filter: if 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