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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/bisector.py

Issue 1062583003: Adding config step to output the bisect config dictionary. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: Improving formatting of the output. Created 5 years, 9 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 | scripts/slave/recipe_modules/auto_bisect/example.expected/bad_deps_syntax.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/bisector.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/bisector.py b/scripts/slave/recipe_modules/auto_bisect/bisector.py
index 922557f4a4017f32010349ffc193f7ad9eccabba..b4333c9bf6c3e25c25254cfd8e92e96e2cc96d7c 100644
--- a/scripts/slave/recipe_modules/auto_bisect/bisector.py
+++ b/scripts/slave/recipe_modules/auto_bisect/bisector.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import json
import re
from . import bisect_results
@@ -29,6 +30,7 @@ class Bisector(object):
Note that the initial good_rev and bad_rev MUST resolve to a commit position
in the chromium repo.
"""
+ api.m.step('config', ['echo', json.dumps(dict(bisect_config), indent=2)])
qyearsley 2015/04/03 23:47:48 Would it make any difference if you remove dict(),
RobertoCN 2015/04/04 00:40:48 The cast is needed because data is passed as a non
super(Bisector, self).__init__()
self._api = api
self.bisect_config = bisect_config
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/example.expected/bad_deps_syntax.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698