Changeset 58005 in webkit
- Timestamp:
- Apr 21, 2010 12:49:28 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r58000 r58005 1 2010-04-21 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 new-run-webkit-tests: fix a bug in the Chromium port where we would 6 try to talk to a crashed test_shell and raise exceptions that weren't 7 being caught. 8 9 https://bugs.webkit.org/show_bug.cgi?id=37941 10 11 * Scripts/webkitpy/layout_tests/port/chromium.py: 12 1 13 2010-04-21 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 14 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py
r57858 r58005 322 322 cmd += "\n" 323 323 324 self._proc.stdin.write(cmd) 325 line = self._proc.stdout.readline() 326 while line.rstrip() != "#EOF": 324 try: 325 self._proc.stdin.write(cmd) 326 line = self._proc.stdout.readline() 327 except IOError, e: 328 _log.error("IOError communicating w/ test_shell: " + str(e)) 329 crash = True 330 331 while not crash and line.rstrip() != "#EOF": 327 332 # Make sure we haven't crashed. 328 333 if line == '' and self.poll() is not None: … … 357 362 error.append(line) 358 363 359 line = self._proc.stdout.readline() 364 try: 365 line = self._proc.stdout.readline() 366 except IOError, e: 367 _log.error("IOError while reading: " + str(e)) 368 crash = True 360 369 361 370 return (crash, timeout, actual_checksum, ''.join(output),
Note: See TracChangeset
for help on using the changeset viewer.