Commit d89925ad authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Handle Unicode characters in adb log in Android tests

Bug: 1114450
Change-Id: Ie0518baca0bbc3f7835864dea236bcf2b676864e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2344663Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#796275}
parent c14cabb0
...@@ -139,7 +139,7 @@ class TestRunResults(object): ...@@ -139,7 +139,7 @@ class TestRunResults(object):
log = t.GetLog() log = t.GetLog()
if log: if log:
s.append('[%s] %s:' % (test_type, t)) s.append('[%s] %s:' % (test_type, t))
s.append(log) s.append(unicode(log, 'utf-8'))
return '\n'.join(s) return '\n'.join(s)
def GetGtestForm(self): def GetGtestForm(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment