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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/api.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 6 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 """API for the bisect recipe module. 5 """API for the bisect recipe module.
6 6
7 This API is meant to enable the bisect recipe to bisect any chromium-supported 7 This API is meant to enable the bisect recipe to bisect any chromium-supported
8 platform for any test that can be run via buildbot, perf or otherwise. 8 platform for any test that can be run via buildbot, perf or otherwise.
9 """ 9 """
10 10
11 from slave import recipe_api 11 from recipe_engine import recipe_api
12 from . import bisector 12 from . import bisector
13 from . import perf_revision_state 13 from . import perf_revision_state
14 14
15 15
16 class AutoBisectApi(recipe_api.RecipeApi): 16 class AutoBisectApi(recipe_api.RecipeApi):
17 """A module for bisect specific functions.""" 17 """A module for bisect specific functions."""
18 18
19 # Number of seconds to wait between polls for test results 19 # Number of seconds to wait between polls for test results
20 POLLING_INTERVAL = 60 20 POLLING_INTERVAL = 60
21 # GS bucket to use for communicating results and job state between bisector 21 # GS bucket to use for communicating results and job state between bisector
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 args += ['--path_to_goma', self.m.path['build'].join('goma')] 128 args += ['--path_to_goma', self.m.path['build'].join('goma')]
129 args += [ 129 args += [
130 '--build-properties', 130 '--build-properties',
131 self.m.json.dumps(dict(self.m.properties.legacy())), 131 self.m.json.dumps(dict(self.m.properties.legacy())),
132 ] 132 ]
133 self.m.chromium.runtest( 133 self.m.chromium.runtest(
134 self.m.path['checkout'].join('tools', 'run-bisect-perf-regression.py'), 134 self.m.path['checkout'].join('tools', 'run-bisect-perf-regression.py'),
135 ['-w', self.m.path['slave_build']] + args, 135 ['-w', self.m.path['slave_build']] + args,
136 name='Running Bisection', 136 name='Running Bisection',
137 xvfb=True, **kwargs) 137 xvfb=True, **kwargs)
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/archive/api.py ('k') | scripts/slave/recipe_modules/bisect_tester/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698