Changeset 58139 in webkit


Ignore:
Timestamp:
Apr 22, 2010 6:55:53 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-22 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

new-run-webkit-tests --verbose shows ever-increasing #EOF lines
https://bugs.webkit.org/show_bug.cgi?id=37794

  • Scripts/webkitpy/layout_tests/port/webkit.py:
    • Remove the assert() since our ServerProcess code does not always seem to be reading the full stderr output (or we're not waiting for it to).
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r58128 r58139  
     12010-04-22  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        new-run-webkit-tests --verbose shows ever-increasing #EOF lines
     6        https://bugs.webkit.org/show_bug.cgi?id=37794
     7
     8        * Scripts/webkitpy/layout_tests/port/webkit.py:
     9         - Remove the assert() since our ServerProcess code does not always
     10           seem to be reading the full stderr output (or we're not waiting for it to).
     11
    1122010-04-22  Eric Seidel  <eric@webkit.org>
    213
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py

    r58088 r58139  
    448448        # we do not get any error lines from the server_process
    449449        # probably we are not flushing stderr.
    450         if error_lines:
    451             error_eof = error_lines.pop()
    452             assert(error_eof == "#EOF")
     450        if error_lines and error_lines[-1] == "#EOF":
     451            error_lines.pop()  # Remove the expected "#EOF"
    453452        error = "\n".join(error_lines)
    454453        # FIXME: This seems like the wrong section of code to be doing
Note: See TracChangeset for help on using the changeset viewer.