Index: build/android/pylib/utils/report_results.py |
diff --git a/build/android/pylib/utils/report_results.py b/build/android/pylib/utils/report_results.py |
index 9ac2620b361bd40bf748cd14e8010de9ac0d0d6e..34bae526c492d6602c9ba60b4e58a4042681865e 100644 |
--- a/build/android/pylib/utils/report_results.py |
+++ b/build/android/pylib/utils/report_results.py |
@@ -88,10 +88,14 @@ def LogFull(results, test_type, test_package, annotation=None, |
if not results.DidRunPass(): |
logging.critical('*' * 80) |
logging.critical('Detailed Logs') |
- logging.critical('%s\n%s' % ('*' * 80, results.GetLogs())) |
+ logging.critical('*' * 80) |
+ for line in results.GetLogs().splitlines(): |
+ logging.critical(line) |
logging.critical('*' * 80) |
logging.critical('Summary') |
- logging.critical('%s\n%s' % ('*' * 80, results)) |
+ logging.critical('*' * 80) |
+ for line in results.GetLongForm().splitlines(): |
+ logging.critical(line) |
logging.critical('*' * 80) |
if os.environ.get('BUILDBOT_BUILDERNAME'): |