Title: [227222] trunk/Tools
Revision
227222
Author
[email protected]
Date
2018-01-19 11:15:58 -0800 (Fri, 19 Jan 2018)

Log Message

run-webkit-tests fails when there is a curly brace in Xcode build output
https://bugs.webkit.org/show_bug.cgi?id=181254
<rdar://problem/36453374>

Reviewed by Daniel Bates.

* Scripts/webkitpy/port/base.py:
(Port._run_script): Encode script output before logging it.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (227221 => 227222)


--- trunk/Tools/ChangeLog	2018-01-19 19:13:54 UTC (rev 227221)
+++ trunk/Tools/ChangeLog	2018-01-19 19:15:58 UTC (rev 227222)
@@ -1,3 +1,14 @@
+2018-01-19  Jonathan Bedard  <[email protected]>
+
+        run-webkit-tests fails when there is a curly brace in Xcode build output
+        https://bugs.webkit.org/show_bug.cgi?id=181254
+        <rdar://problem/36453374>
+
+        Reviewed by Daniel Bates.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port._run_script): Encode script output before logging it.
+
 2018-01-19  Chris Dumez  <[email protected]>
 
         Service worker registrations restored from disk may not be reused when the JS calls register() again

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (227221 => 227222)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2018-01-19 19:13:54 UTC (rev 227221)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2018-01-19 19:15:58 UTC (rev 227222)
@@ -1426,7 +1426,7 @@
         if args:
             run_script_command.extend(args)
         output = self._executive.run_command(run_script_command, cwd=self.webkit_base(), decode_output=decode_output, env=env)
-        _log.debug('Output of %s:\n%s' % (run_script_command, output))
+        _log.debug('Output of %s:\n%s' % (run_script_command, output.encode('utf-8') if decode_output else output))
         return output
 
     def _build_driver(self):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to