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

Unified Diff: tools/bots/bot.py

Issue 299183002: Allow pub bot to continue after failure (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « no previous file | tools/bots/pub.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot.py
===================================================================
--- tools/bots/bot.py (revision 36550)
+++ tools/bots/bot.py (working copy)
@@ -151,7 +151,7 @@
try:
Clobber()
- if build_step:
+ if build_step:
build_step(build_info)
custom_steps(build_info)
@@ -204,7 +204,7 @@
RunProcess(cmd)
-def RunTest(name, build_info, targets, flags=None):
+def RunTest(name, build_info, targets, flags=None, swallow_error=False):
"""
Runs test.py with the given settings.
"""
@@ -212,7 +212,7 @@
flags = []
step_name = GetStepName(name, flags)
- with BuildStep(step_name):
+ with BuildStep(step_name, swallow_error=swallow_error):
sys.stdout.flush()
cmd = [
« no previous file with comments | « no previous file | tools/bots/pub.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698