From 619662cb8e2ab7d355a9fd516bb972f4bcdb6ac1 Mon Sep 17 00:00:00 2001 From: "bulach@chromium.org" Date: Thu, 12 Jul 2012 11:35:03 +0000 Subject: 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 --- build/android/pylib/buildbot_report.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build/android/pylib/buildbot_report.py') 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 -- cgit v1.1