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

Unified Diff: scripts/master/factory/chromium_commands.py

Issue 8536050: Add chromium android bot to FYI waterfall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: '' Created 9 years, 1 month 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 | « masters/master.chromium.fyi/slaves.cfg ('k') | scripts/master/factory/chromium_factory.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/factory/chromium_commands.py
===================================================================
--- scripts/master/factory/chromium_commands.py (revision 110985)
+++ scripts/master/factory/chromium_commands.py (working copy)
@@ -870,6 +870,23 @@
haltOnFailure=True,
command=cmd)
+ def AddAnnotationStep(self, name, cmd, timeout=6000):
+ """Add an @@@BUILD_STEP step@@@ annotation script build command.
+
+ This function allows the caller to specify the name of the
+ annotation script. In contrast, AddAnnotatedSteps() simply adds
+ in a hard-coded annotation script that is not yet in the tree.
+ TODO(jrg): resolve this inconsistency with the
+ chrome-infrastrucure team; we shouldn't need two functions."""
+ self._factory.addStep(chromium_step.AnnotatedCommand,
+ name=name,
+ description=name,
+ timeout=timeout,
+ haltOnFailure=True,
+ workdir=self._build_dir,
+ command=cmd)
+
+
def _GetPyAutoCmd(self, src_base=None, script=None, factory_properties=None,
dataset=None, matrix=True, media_home=None, test_name=None,
http=False, nocache=False, verbose=False, suite_name=None,
« no previous file with comments | « masters/master.chromium.fyi/slaves.cfg ('k') | scripts/master/factory/chromium_factory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698