| 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 import json | 5 import json |
| 6 | 6 |
| 7 from recipe_engine.config import List | 7 from recipe_engine.config import List |
| 8 from recipe_engine.config import Single | 8 from recipe_engine.config import Single |
| 9 from recipe_engine.recipe_api import Property | 9 from recipe_engine.recipe_api import Property |
| 10 | 10 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 step_result.presentation.properties['report'] = report | 304 step_result.presentation.properties['report'] = report |
| 305 | 305 |
| 306 return report | 306 return report |
| 307 | 307 |
| 308 | 308 |
| 309 def GenTests(api): | 309 def GenTests(api): |
| 310 def props(compile_targets=None, use_analyze=False, | 310 def props(compile_targets=None, use_analyze=False, |
| 311 good_revision=None, bad_revision=None, | 311 good_revision=None, bad_revision=None, |
| 312 suspected_revisions=None, use_bisect=False, buildbucket=None): | 312 suspected_revisions=None, use_bisect=False, buildbucket=None): |
| 313 properties = { | 313 properties = { |
| 314 'path_config': 'kitchen', |
| 314 'mastername': 'tryserver.chromium.linux', | 315 'mastername': 'tryserver.chromium.linux', |
| 315 'buildername': 'linux_variable', | 316 'buildername': 'linux_variable', |
| 316 'slavename': 'build1-a1', | 317 'slavename': 'build1-a1', |
| 317 'buildnumber': '1', | 318 'buildnumber': '1', |
| 318 'target_mastername': 'chromium.linux', | 319 'target_mastername': 'chromium.linux', |
| 319 'target_buildername': 'Linux Builder', | 320 'target_buildername': 'Linux Builder', |
| 320 'good_revision': good_revision or 'r0', | 321 'good_revision': good_revision or 'r0', |
| 321 'bad_revision': bad_revision or 'r1', | 322 'bad_revision': bad_revision or 'r1', |
| 322 'use_analyze': use_analyze, | 323 'use_analyze': use_analyze, |
| 323 'use_bisect': use_bisect, | 324 'use_bisect': use_bisect, |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 'found': ['target_name'], | 681 'found': ['target_name'], |
| 681 'not_found': [], | 682 'not_found': [], |
| 682 })) + | 683 })) + |
| 683 api.override_step_data('test r5.check_targets', | 684 api.override_step_data('test r5.check_targets', |
| 684 api.json.output({ | 685 api.json.output({ |
| 685 'found': ['target_name'], | 686 'found': ['target_name'], |
| 686 'not_found': [], | 687 'not_found': [], |
| 687 })) + | 688 })) + |
| 688 api.override_step_data('test r5.compile', retcode=1) | 689 api.override_step_data('test r5.compile', retcode=1) |
| 689 ) | 690 ) |
| OLD | NEW |