Changeset 58054 in webkit


Ignore:
Timestamp:
Apr 21, 2010 10:40:48 PM (14 years ago)
Author:
eric@webkit.org
Message:

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

Unreviewed. Attempt one more time to fix NRWT for chromium.

REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
https://bugs.webkit.org/show_bug.cgi?id=37765

  • Scripts/webkitpy/layout_tests/port/chromium.py:
    • Fix handling of test_shell output so that we always decode it as utf-8. Unlike DumpRenderTree test_shell does not ever return pixel data. It spits out the pixel dumps in a separate file, thus all output over stdout is utf-8 text.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r58050 r58054  
     12010-04-21  Eric Seidel  <eric@webkit.org>
     2
     3        Unreviewed.  Attempt one more time to fix NRWT for chromium.
     4
     5        REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
     6        https://bugs.webkit.org/show_bug.cgi?id=37765
     7
     8        * Scripts/webkitpy/layout_tests/port/chromium.py:
     9         - Fix handling of test_shell output so that we always
     10           decode it as utf-8.
     11           Unlike DumpRenderTree test_shell does not ever return
     12           pixel data.  It spits out the pixel dumps in a separate
     13           file, thus all output over stdout is utf-8 text.
     14
    1152010-04-21  Eric Seidel  <eric@webkit.org>
    216
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py

    r58044 r58054  
    330330            self._proc.stdin.write(cmd)
    331331            line = self._proc.stdout.readline()
     332            # As far as I can tell, all output from test_shell
     333            # is text output, thus we know it's all utf-8.
     334            line = line.decode("utf-8")
    332335        except IOError, e:
    333336            _log.error("IOError communicating w/ test_shell: " + str(e))
Note: See TracChangeset for help on using the changeset viewer.