| 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 from slave.recipe_config import config_item_context, ConfigGroup | 5 from recipe_engine.config import config_item_context, ConfigGroup |
| 6 from slave.recipe_config import List, Set, Single, Static | 6 from recipe_engine.config import List, Set, Single, Static |
| 7 | 7 |
| 8 | 8 |
| 9 def BaseConfig(**_kwargs): | 9 def BaseConfig(**_kwargs): |
| 10 shard_count = _kwargs.get('SHARD_COUNT', 1) | 10 shard_count = _kwargs.get('SHARD_COUNT', 1) |
| 11 shard_run = _kwargs.get('SHARD_RUN', 1) | 11 shard_run = _kwargs.get('SHARD_RUN', 1) |
| 12 assert shard_count >= 1 | 12 assert shard_count >= 1 |
| 13 assert shard_run >= 1 | 13 assert shard_run >= 1 |
| 14 assert shard_run <= shard_count | 14 assert shard_run <= shard_count |
| 15 | 15 |
| 16 return ConfigGroup( | 16 return ConfigGroup( |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 @config_ctx() | 192 @config_ctx() |
| 193 def predictable(c): | 193 def predictable(c): |
| 194 c.testing.test_args.add('--predictable') | 194 c.testing.test_args.add('--predictable') |
| 195 | 195 |
| 196 | 196 |
| 197 @config_ctx() | 197 @config_ctx() |
| 198 def trybot_flavor(c): | 198 def trybot_flavor(c): |
| 199 c.testing.add_flaky_step = False | 199 c.testing.add_flaky_step = False |
| 200 c.testing.test_args.add('--flaky-tests=skip') | 200 c.testing.test_args.add('--flaky-tests=skip') |
| OLD | NEW |