Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1594)

Unified Diff: run_jstests.py

Issue 848503003: Fix printing of logged non-ascii characters (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: run_jstests.py
diff --git a/run_jstests.py b/run_jstests.py
index 14b247436a20ca168c1536098a9fb848714a9e43..04789afb6e6c263f5ad809e3bca970c27b904d1a 100755
--- a/run_jstests.py
+++ b/run_jstests.py
@@ -33,7 +33,7 @@ driver.get("file://" + test_html)
result = driver.execute_script(test_runner)
driver.quit()
end = time.time()
-print result['log']
+print result['log'].encode('utf-8')
print 'Tests run: %d, Failures: %d, Skipped: %d, Time elapsed: %0.3f sec' % (result['numTests'],
result['failed'], result['skipped'], end - start)
sys.exit(0 if result['success'] else 1)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698