Title: [122551] trunk/Tools
Revision
122551
Author
[email protected]
Date
2012-07-13 01:23:18 -0700 (Fri, 13 Jul 2012)

Log Message

nrwt: don't choke when printing invalid utf-8 to stderr
https://bugs.webkit.org/show_bug.cgi?id=91181

Reviewed by Dirk Pranke.

* Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
(TestResultWriter.write_stderr):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (122550 => 122551)


--- trunk/Tools/ChangeLog	2012-07-13 08:06:58 UTC (rev 122550)
+++ trunk/Tools/ChangeLog	2012-07-13 08:23:18 UTC (rev 122551)
@@ -1,3 +1,13 @@
+2012-07-13  David Grogan  <[email protected]>
+
+        nrwt: don't choke when printing invalid utf-8 to stderr
+        https://bugs.webkit.org/show_bug.cgi?id=91181
+
+        Reviewed by Dirk Pranke.
+
+        * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
+        (TestResultWriter.write_stderr):
+
 2012-07-13  Dirk Pranke  <[email protected]>
 
         test-webkitpy: more class renaming cleanup

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py (122550 => 122551)


--- trunk/Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py	2012-07-13 08:06:58 UTC (rev 122550)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py	2012-07-13 08:23:18 UTC (rev 122551)
@@ -160,7 +160,7 @@
 
     def write_stderr(self, error):
         filename = self.output_filename(self.FILENAME_SUFFIX_STDERR + ".txt")
-        self._write_text_file(filename, error)
+        self._write_binary_file(filename, error)
 
     def write_crash_log(self, crash_log):
         filename = self.output_filename(self.FILENAME_SUFFIX_CRASH_LOG + ".txt")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to