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

Side by Side Diff: build/android/pylib/buildbot_report.py

Issue 10689159: Android: a few minor improvements for the test runner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes --apk from buildbot_functions.sh Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/buildbot_functions.sh ('k') | build/android/pylib/single_test_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Helper functions to print buildbot messages.""" 5 """Helper functions to print buildbot messages."""
6 6
7 def PrintLink(label, url): 7 def PrintLink(label, url):
8 """Adds a link with name |label| linking to |url| to current buildbot step. 8 """Adds a link with name |label| linking to |url| to current buildbot step.
9 9
10 Args: 10 Args:
11 label: A string with the name of the label. 11 label: A string with the name of the label.
12 url: A string of the URL. 12 url: A string of the URL.
13 """ 13 """
14 print '@@@STEP_LINK@%s@%s@@@' % (label, url) 14 print '@@@STEP_LINK@%s@%s@@@' % (label, url)
15 15
16 16
17 def PrintMsg(msg): 17 def PrintMsg(msg):
18 """Appends |msg| to the current buildbot step text. 18 """Appends |msg| to the current buildbot step text.
19 19
20 Args: 20 Args:
21 msg: String to be appended. 21 msg: String to be appended.
22 """ 22 """
23 print '@@@STEP_TEXT@%s@@@' % msg 23 print '@@@STEP_TEXT@%s@@@' % msg
24 24
25 25
26 def PrintError(): 26 def PrintError():
27 """Marks the current step as failed.""" 27 """Marks the current step as failed."""
28 print '@@@STEP_FAILURE@@@' 28 print '@@@STEP_FAILURE@@@'
29
30
31 def PrintWarning():
32 """Marks the current step with a warning."""
33 print '@@@STEP_WARNINGS@@@'
34
35
36 def PrintNamedStep(step):
37 print '@@@BUILD_STEP %s@@@' % step
OLDNEW
« no previous file with comments | « build/android/buildbot_functions.sh ('k') | build/android/pylib/single_test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698