Changeset 106616 in webkit
- Timestamp:
- Feb 2, 2012 7:03:16 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r106591 r106616 1 2012-02-02 Eric Seidel <eric@webkit.org> 2 3 Run tests in serial on SnowLeopard to avoid CFURLCache crashes 4 https://bugs.webkit.org/show_bug.cgi?id=75145 5 6 Reviewed by Dirk Pranke. 7 8 * Scripts/webkitpy/layout_tests/port/mac.py: 9 (MacPort.default_child_processes): 10 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 11 (test_operating_system): 12 (test_default_child_processes): 13 1 14 2012-02-02 Dirk Pranke <dpranke@chromium.org> 2 15 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py
r105951 r106616 88 88 return re.search(r'ReportCrash', process_name) 89 89 90 def default_child_processes(self): 91 if self.is_snowleopard(): 92 _log.warn("Cannot run tests in parallel on Snow Leopard due to rdar://problem/10621525.") 93 return 1 94 return super(MacPort, self).default_child_processes() 95 90 96 def _build_java_test_support(self): 91 97 java_tests_path = self._filesystem.join(self.layout_tests_dir(), "java") -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
r105951 r106616 167 167 def test_operating_system(self): 168 168 self.assertEqual('mac', self.make_port().operating_system()) 169 170 def test_default_child_processes(self): 171 port = self.make_port(port_name='mac-lion') 172 # MockPlatformInfo only has 2 mock cores. The important part is that 2 > 1. 173 self.assertEqual(port.default_child_processes(), 2) 174 175 # SnowLeopard has a CFNetwork bug which causes crashes if we execute more than one copy of DRT at once. 176 port = self.make_port(port_name='mac-snowleopard') 177 expected_logs = "Cannot run tests in parallel on Snow Leopard due to rdar://problem/10621525.\n" 178 child_processes = OutputCapture().assert_outputs(self, port.default_child_processes, (), expected_logs=expected_logs) 179 self.assertEqual(child_processes, 1)
Note: See TracChangeset
for help on using the changeset viewer.