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
This commit is contained in:
chrome/test/data/valgrind
tools/valgrind
@ -1,5 +1,2 @@
|
||||
# Takes 65 seconds to run.
|
||||
IPCSyncChannelTest.ChattyServer
|
||||
# See http://crbug.com/15445
|
||||
# Only fails on the bots?
|
||||
BookmarkEditorGtkTest.*
|
||||
|
3
chrome/test/data/valgrind/unit_tests.gtest_linux.txt
Normal file
3
chrome/test/data/valgrind/unit_tests.gtest_linux.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# See http://crbug.com/15445
|
||||
# Only fails on the bots?
|
||||
BookmarkEditorGtkTest.*
|
3
chrome/test/data/valgrind/unit_tests.gtest_mac.txt
Normal file
3
chrome/test/data/valgrind/unit_tests.gtest_mac.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# Times out too often
|
||||
# crbug.com/15817
|
||||
IPCSyncChannelTest.*
|
@ -188,15 +188,20 @@ class ChromeTests:
|
||||
'''
|
||||
filters = []
|
||||
for directory in self._data_dirs:
|
||||
filename = os.path.join(directory, name + ".gtest.txt")
|
||||
if os.path.exists(filename):
|
||||
logging.info("reading gtest filters from %s" % filename)
|
||||
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)
|
||||
platform_suffix = {'darwin': 'mac',
|
||||
'linux2': 'linux'}[sys.platform]
|
||||
gtest_filter_files = [
|
||||
os.path.join(directory, name + ".gtest.txt"),
|
||||
os.path.join(directory, name + ".gtest_%s.txt" % platform_suffix)]
|
||||
for filename in gtest_filter_files:
|
||||
if os.path.exists(filename):
|
||||
logging.info("reading gtest filters from %s" % filename)
|
||||
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
|
||||
if len(filters):
|
||||
if gtest_filter:
|
||||
|
Reference in New Issue
Block a user