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

Unified Diff: build/android/pylib/utils/report_results.py

Issue 13799010: [Android] Reduce test logging verbosity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « build/android/pylib/gtest/test_package_apk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'):
« no previous file with comments | « build/android/pylib/gtest/test_package_apk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698