Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: sky/tools/webkitpy/layout_tests/port/base.py

Issue 741603002: Give release builds more time. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 def supports_per_test_timeout(self): 238 def supports_per_test_timeout(self):
239 return False 239 return False
240 240
241 def default_pixel_tests(self): 241 def default_pixel_tests(self):
242 return False 242 return False
243 243
244 def default_smoke_test_only(self): 244 def default_smoke_test_only(self):
245 return False 245 return False
246 246
247 def default_timeout_ms(self): 247 def default_timeout_ms(self):
248 timeout_ms = 6 * 1000 248 # TODO(esprehn): Remove this hack.
249 if self.get_option('configuration') == 'Debug': 249 timeout_ms = 30 * 1000
250 # Debug is usually 2x-3x slower than Release. 250 # if self.get_option('configuration') == 'Debug':
251 return 3 * timeout_ms 251 # # Debug is usually 2x-3x slower than Release.
252 # return 3 * timeout_ms
252 return timeout_ms 253 return timeout_ms
253 254
254 def driver_stop_timeout(self): 255 def driver_stop_timeout(self):
255 """ Returns the amount of time in seconds to wait before killing the pro cess in driver.stop().""" 256 """ Returns the amount of time in seconds to wait before killing the pro cess in driver.stop()."""
256 # We want to wait for at least 3 seconds, but if we are really slow, we want to be slow on cleanup as 257 # We want to wait for at least 3 seconds, but if we are really slow, we want to be slow on cleanup as
257 # well (for things like ASAN, Valgrind, etc.) 258 # well (for things like ASAN, Valgrind, etc.)
258 return 3.0 * float(self.get_option('time_out_ms', '0')) / self.default_t imeout_ms() 259 return 3.0 * float(self.get_option('time_out_ms', '0')) / self.default_t imeout_ms()
259 260
260 def wdiff_available(self): 261 def wdiff_available(self):
261 if self._wdiff_available is None: 262 if self._wdiff_available is None:
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 1760
1760 class PhysicalTestSuite(object): 1761 class PhysicalTestSuite(object):
1761 def __init__(self, base, args): 1762 def __init__(self, base, args):
1762 self.name = base 1763 self.name = base
1763 self.base = base 1764 self.base = base
1764 self.args = args 1765 self.args = args
1765 self.tests = set() 1766 self.tests = set()
1766 1767
1767 def __repr__(self): 1768 def __repr__(self):
1768 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1769 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698