Enable universal newlines in chromium android layout test runner
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 19:08:26 +0000 (19:08 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 19:08:26 +0000 (19:08 +0000)
commitbcb07ab7f189499912a39854e52f142ff96b4a6a
tree9d38f717847332f04b34fc855e00adb80a5d4e63
parentca6813a1c910a5846d1ec7b92b8026ee595551a1
Enable universal newlines in chromium android layout test runner
https://bugs.webkit.org/show_bug.cgi?id=80418

Patch by Sami Kyostila <skyostil@chromium.org> on 2012-03-06
Reviewed by Adam Barth.

The Chromium Android layout test runner uses the 'adb' program to
communicate with the Android device. Adb uses CRLF ('\r\n') to delimit
output lines from the test runner, while the test expectation files are
written with LF ('\n') delimiters. This causes the results to have
spurious whitespace differences, making them more difficult to
interpret.

The fix is to enable universal newlines for the DumpRenderTree pipe,
causing the output to only contain LF newlines like on other platforms.

* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidDriver._start):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py