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

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

Issue 2237293005: Add support to Perf tryjobs to read test attributes from buildbot properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/perf_try/api.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 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
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 if api.properties.get('bisect_config').get('good_revision'): 404 if api.properties.get('bisect_config').get('good_revision'):
405 api.step('***BISECT***', []) 405 api.step('***BISECT***', [])
406 local_bisect.perform_bisect(self, **flags) # pragma: no cover 406 local_bisect.perform_bisect(self, **flags) # pragma: no cover
407 else: 407 else:
408 api.step('***SINGLE TEST (deprecated)***', []) 408 api.step('***SINGLE TEST (deprecated)***', [])
409 self.start_test_run_for_bisect(update_step, self.bot_db, 409 self.start_test_run_for_bisect(update_step, self.bot_db,
410 api.properties) 410 api.properties)
411 else: 411 else:
412 api.step('***PERF TRYJOB***', []) 412 api.step('***PERF TRYJOB***', [])
413 self.m.perf_try.start_perf_try_job( 413 self.m.perf_try.start_perf_try_job(
414 affected_files, update_step, self.bot_db) 414 api, affected_files, update_step, self.bot_db)
415 finally: 415 finally:
416 if api.chromium.c.TARGET_PLATFORM == 'android': 416 if api.chromium.c.TARGET_PLATFORM == 'android':
417 if self.internal_bisect: # pragma: no cover 417 if self.internal_bisect: # pragma: no cover
418 api.chromium_android.init_and_sync( 418 api.chromium_android.init_and_sync(
419 gclient_config=api.chromium_android.c.internal_dir_name, 419 gclient_config=api.chromium_android.c.internal_dir_name,
420 use_bot_update=True) 420 use_bot_update=True)
421 else: 421 else:
422 self.ensure_checkout() 422 self.ensure_checkout()
423 api.chromium_android.common_tests_final_steps() 423 api.chromium_android.common_tests_final_steps()
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/perf_try/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698