summaryrefslogtreecommitdiffstats
path: root/build/android/pylib/buildbot_report.py
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 11:35:03 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 11:35:03 +0000
commit619662cb8e2ab7d355a9fd516bb972f4bcdb6ac1 (patch)
tree20446bd457e157d2b346c0a7a54a45a37fd153b0 /build/android/pylib/buildbot_report.py
parentb1721cc7e49f7b6c850044cfe647d4f28b181e20 (diff)
downloadchromium_src-619662cb8e2ab7d355a9fd516bb972f4bcdb6ac1.zip
chromium_src-619662cb8e2ab7d355a9fd516bb972f4bcdb6ac1.tar.gz
chromium_src-619662cb8e2ab7d355a9fd516bb972f4bcdb6ac1.tar.bz2
Android: a few minor improvements for the test runner.
- We had a few options with default=True, which made them not really optional. Instead, use an option with action='store_true' which is False by default. - Uses buildbot_report.py rather than duplicate the functionality. - Removes default params from SingleTestRunner to make it more explicit. BUG= TEST=existing android tests. Review URL: https://chromiumcodereview.appspot.com/10689159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/pylib/buildbot_report.py')
-rw-r--r--build/android/pylib/buildbot_report.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/android/pylib/buildbot_report.py b/build/android/pylib/buildbot_report.py
index fdb5203..1e549de 100644
--- a/build/android/pylib/buildbot_report.py
+++ b/build/android/pylib/buildbot_report.py
@@ -26,3 +26,12 @@ def PrintMsg(msg):
def PrintError():
"""Marks the current step as failed."""
print '@@@STEP_FAILURE@@@'
+
+
+def PrintWarning():
+ """Marks the current step with a warning."""
+ print '@@@STEP_WARNINGS@@@'
+
+
+def PrintNamedStep(step):
+ print '@@@BUILD_STEP %s@@@' % step