Changeset 83801 in webkit
- Timestamp:
- Apr 13, 2011 6:37:18 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r83799 r83801 1 2011-04-13 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Tony Chang. 4 5 new-run-webkit-tests --run-singly option is busted 6 https://bugs.webkit.org/show_bug.cgi?id=55909 7 8 Python's broken lexical scoping strikes again :(. 9 10 * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py: 11 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 12 1 13 2011-04-13 Ojan Vafai <ojan@chromium.org> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py
r83635 r83801 160 160 """ 161 161 worker = self 162 result = None163 162 164 163 driver = worker._port.create_driver(worker._worker_number) … … 167 166 class SingleTestThread(threading.Thread): 168 167 def run(self): 169 result = worker._run_single_test(driver, test_input)168 self.result = worker._run_single_test(driver, test_input) 170 169 171 170 thread = SingleTestThread() 172 171 thread.start() 173 172 thread.join(thread_timeout_sec) 173 result = getattr(thread, 'result', None) 174 174 if thread.isAlive(): 175 175 # If join() returned with the thread still running, the -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
r83783 r83801 326 326 self.assertEquals(len(batch), 1, '%s had too many tests' % ', '.join(batch)) 327 327 328 def test_run_singly_actually_runs_tests(self): 329 res, _, _, _ = logging_run(['--run-singly', 'failures/unexpected']) 330 self.assertEquals(res, 5) 331 328 332 def test_single_file(self): 329 333 tests_run = get_tests_run(['passes/text.html'], tests_included=True, flatten_batches=True)
Note: See TracChangeset
for help on using the changeset viewer.