Changeset 139088 in webkit
- Timestamp:
- Jan 8, 2013, 11:35:54 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r139084 r139088 1 2013-01-08 Zan Dobersek <zandobersek@gmail.com> 2 3 [GTK] Lower the default timeout value for WebKitTestRunner 4 https://bugs.webkit.org/show_bug.cgi?id=106353 5 6 Reviewed by Dirk Pranke. 7 8 The default timeout value for WebKitTestRunner should be lowered. 9 The current value (80 seconds) is irrational and just leads to producing 10 text failures for layout tests that genuinely time out. This just leads 11 to more deviation from the GTK WK1 port in terms of test expectations. 12 13 The value used is the same as when running the DumpRenderTree, that's 14 6 seconds in release builds and 12 seconds in debug builds. 15 16 * Scripts/webkitpy/layout_tests/port/gtk.py: 17 * Scripts/webkitpy/layout_tests/port/gtk_unittest.py: 18 (GtkPortTest.test_default_timeout_ms): 19 1 20 2013-01-08 Zan Dobersek <zandobersek@gmail.com> 2 21 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py
r138382 r139088 49 49 50 50 def default_timeout_ms(self): 51 # For now, use the base Port's default timeout value in case of WebKitTestRunner.52 if self.get_option('webkit_test_runner'):53 return super(GtkPort, self).default_timeout_ms()54 55 51 if self.get_option('configuration') == 'Debug': 56 52 return 12 * 1000 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py
r139084 r139088 67 67 self.assertEqual(self.make_port(options=MockOptions(configuration='Release')).default_timeout_ms(), 6000) 68 68 self.assertEqual(self.make_port(options=MockOptions(configuration='Debug')).default_timeout_ms(), 12000) 69 self.assertEqual(self.make_port(options=MockOptions(webkit_test_runner=True, configuration='Debug')).default_timeout_ms(), 80000)70 self.assertEqual(self.make_port(options=MockOptions(webkit_test_runner=True, configuration='Release')).default_timeout_ms(), 80000)71 69 72 70 def assertLinesEqual(self, a, b):
Note:
See TracChangeset
for help on using the changeset viewer.