| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'auto_bisect', | 8 'auto_bisect', |
| 9 'bisect_tester', | 9 'bisect_tester', |
| 10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 parent_got_revision='1111111', | 550 parent_got_revision='1111111', |
| 551 parent_build_archive_url='gs://test-domain/test-archive.zip') + | 551 parent_build_archive_url='gs://test-domain/test-archive.zip') + |
| 552 api.bisect_tester(tempfile='/tmp/dummy') + | 552 api.bisect_tester(tempfile='/tmp/dummy') + |
| 553 api.step_data( | 553 api.step_data( |
| 554 'Gathering reference values.saving json to temp file', | 554 'Gathering reference values.saving json to temp file', |
| 555 stdout=api.raw_io.output('/tmp/dummy3')) + | 555 stdout=api.raw_io.output('/tmp/dummy3')) + |
| 556 api.step_data( | 556 api.step_data( |
| 557 'Gathering reference values.saving json to temp file (2)', | 557 'Gathering reference values.saving json to temp file (2)', |
| 558 stdout=api.raw_io.output('/tmp/dummy4')) + | 558 stdout=api.raw_io.output('/tmp/dummy4')) + |
| 559 api.override_step_data('device_status', | 559 api.override_step_data('device_status', |
| 560 api.json.output(working_device)) + | 560 api.json.output(two_devices)) + |
| 561 api.override_step_data('device_status (2)', | 561 api.override_step_data('device_status (2)', |
| 562 api.json.output(working_device)) + | 562 api.json.output(two_devices)) + |
| 563 api.step_data('Resolving reference range.crrev get commit hash for ' + | 563 api.step_data('Resolving reference range.crrev get commit hash for ' + |
| 564 ('refs/heads/master@{#%s}' % local_bisect_config['bad_revision']), | 564 ('refs/heads/master@{#%s}' % local_bisect_config['bad_revision']), |
| 565 stdout=api.json.output( | 565 stdout=api.json.output( |
| 566 {'git_sha': bad_revision_hash}))+ | 566 {'git_sha': bad_revision_hash}))+ |
| 567 api.step_data('Resolving reference range.crrev get commit hash for ' + | 567 api.step_data('Resolving reference range.crrev get commit hash for ' + |
| 568 ('refs/heads/master@{#%s}' % local_bisect_config[ | 568 ('refs/heads/master@{#%s}' % local_bisect_config[ |
| 569 'good_revision']), | 569 'good_revision']), |
| 570 stdout=api.json.output( | 570 stdout=api.json.output( |
| 571 {'git_sha': good_revision_hash}))+ | 571 {'git_sha': good_revision_hash}))+ |
| 572 api.step_data('Expanding revision range.for revisions %s:%s' % ( | 572 api.step_data('Expanding revision range.for revisions %s:%s' % ( |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 # multiple_device_status | 675 # multiple_device_status |
| 676 api.step_data('Debug Info', retcode=1) + | 676 api.step_data('Debug Info', retcode=1) + |
| 677 api.override_step_data('device_status (3)', | 677 api.override_step_data('device_status (3)', |
| 678 api.json.output(working_device)) + | 678 api.json.output(working_device)) + |
| 679 api.step_data('Expanding revision range.for revisions %s:%s (2)' % ( | 679 api.step_data('Expanding revision range.for revisions %s:%s (2)' % ( |
| 680 good_revision_hash, bad_revision_hash), | 680 good_revision_hash, bad_revision_hash), |
| 681 stdout=api.json.output([[bad_revision_hash, 'ignored'], [ | 681 stdout=api.json.output([[bad_revision_hash, 'ignored'], [ |
| 682 good_revision_hash, 'ignored']])) + | 682 good_revision_hash, 'ignored']])) + |
| 683 api.step_data('Post bisect results', | 683 api.step_data('Post bisect results', |
| 684 stdout=api.json.output({'status_code': 200}))) | 684 stdout=api.json.output({'status_code': 200}))) |
| OLD | NEW |