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

Unified Diff: build/android/pylib/buildbot_report.py

Issue 11231076: Android: upstream latest changes for build/android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/android_commands.py ('k') | build/android/pylib/test_options_parser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/buildbot_report.py
diff --git a/build/android/pylib/buildbot_report.py b/build/android/pylib/buildbot_report.py
index fe3fcd638eaf328d9290ad72454eb4a4cbe55667..8e7db8d9c97e55ab0b7ce8744fd69cf4bb5d5e7b 100644
--- a/build/android/pylib/buildbot_report.py
+++ b/build/android/pylib/buildbot_report.py
@@ -44,3 +44,11 @@ def PrintWarning():
def PrintNamedStep(step):
print '@@@BUILD_STEP %s@@@' % step
+
+
+def PrintStepResultIfNeeded(options, result):
+ if result:
+ if options.buildbot_step_failure:
+ PrintError()
+ else:
+ PrintWarning()
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/android/pylib/test_options_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698