| OLD | NEW |
| 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 Loading... |
| 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() |
| OLD | NEW |