| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 re | 5 import re |
| 6 from recipe_engine.types import freeze | 6 from recipe_engine.types import freeze |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'archive', | 9 'archive', |
| 10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 ] + args, | 97 ] + args, |
| 98 stdout=api.raw_io.output()) | 98 stdout=api.raw_io.output()) |
| 99 return step_result.stdout.split() | 99 return step_result.stdout.split() |
| 100 | 100 |
| 101 | 101 |
| 102 def RunSteps(api): | 102 def RunSteps(api): |
| 103 mastername = api.m.properties['mastername'] | 103 mastername = api.m.properties['mastername'] |
| 104 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) | 104 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) |
| 105 | 105 |
| 106 checkout_results = api.bot_update.ensure_checkout( | 106 checkout_results = api.bot_update.ensure_checkout( |
| 107 force=True, patch_root=bot_config.get('root_override')) | 107 patch_root=bot_config.get('root_override')) |
| 108 | 108 |
| 109 api.chromium.runhooks() | 109 api.chromium.runhooks() |
| 110 api.chromium.run_mb(mastername, buildername, use_goma=False) | 110 api.chromium.run_mb(mastername, buildername, use_goma=False) |
| 111 | 111 |
| 112 all_fuzzers = gn_refs( | 112 all_fuzzers = gn_refs( |
| 113 api, | 113 api, |
| 114 'calculate all_fuzzers', | 114 'calculate all_fuzzers', |
| 115 ['--all', | 115 ['--all', |
| 116 '--type=executable', | 116 '--type=executable', |
| 117 '--as=output', | 117 '--as=output', |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 def GenTests(api): | 169 def GenTests(api): |
| 170 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 170 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 171 yield (test + | 171 yield (test + |
| 172 api.step_data('calculate all_fuzzers', | 172 api.step_data('calculate all_fuzzers', |
| 173 stdout=api.raw_io.output('target1 target2 target3')) + | 173 stdout=api.raw_io.output('target1 target2 target3')) + |
| 174 api.step_data('calculate no_clusterfuzz', | 174 api.step_data('calculate no_clusterfuzz', |
| 175 stdout=api.raw_io.output('target1')) | 175 stdout=api.raw_io.output('target1')) |
| 176 ) | 176 ) |
| 177 | 177 |
| OLD | NEW |