Title: [282347] trunk/Tools
Revision
282347
Author
[email protected]
Date
2021-09-13 12:01:24 -0700 (Mon, 13 Sep 2021)

Log Message

Running iOS layout tests sometimes fails with a utf-8 error
https://bugs.webkit.org/show_bug.cgi?id=230082

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/port/driver.py:
(Driver.run_test): Decode errors should not be fatal, since it's possible
that stdout may be a png from a timed out test.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (282346 => 282347)


--- trunk/Tools/ChangeLog	2021-09-13 18:49:29 UTC (rev 282346)
+++ trunk/Tools/ChangeLog	2021-09-13 19:01:24 UTC (rev 282347)
@@ -1,3 +1,14 @@
+2021-09-13  Jonathan Bedard  <[email protected]>
+
+        Running iOS layout tests sometimes fails with a utf-8 error
+        https://bugs.webkit.org/show_bug.cgi?id=230082
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/port/driver.py:
+        (Driver.run_test): Decode errors should not be fatal, since it's possible
+        that stdout may be a png from a timed out test.
+
 2021-09-13  Yoshiaki Jitsukawa  <[email protected]>
 
         [TestWTF] Hash tests for denorm_min should be skipped if denorm is not supported.

Modified: trunk/Tools/Scripts/webkitpy/port/driver.py (282346 => 282347)


--- trunk/Tools/Scripts/webkitpy/port/driver.py	2021-09-13 18:49:29 UTC (rev 282346)
+++ trunk/Tools/Scripts/webkitpy/port/driver.py	2021-09-13 19:01:24 UTC (rev 282347)
@@ -243,7 +243,7 @@
             # In the timeout case, we kill the hung process as well.
             out, err = self._server_process.stop(self._port.driver_stop_timeout() if stop_when_done else 0.0)
             if out:
-                text += string_utils.decode(out, target_type=str)
+                text += string_utils.decode(out, target_type=str, errors='backslashreplace')
             if err:
                 self.error_from_test += string_utils.decode(err, target_type=str)
             self._server_process = None
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to