| 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 recipe_engine.config import config_item_context, ConfigGroup | 5 from recipe_engine.config import config_item_context, ConfigGroup |
| 6 from recipe_engine.config import List, Single, Static | 6 from recipe_engine.config import List, 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) |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 config_ctx = config_item_context(BaseConfig) | 38 config_ctx = config_item_context(BaseConfig) |
| 39 | 39 |
| 40 | 40 |
| 41 @config_ctx() | 41 @config_ctx() |
| 42 def v8(c): | 42 def v8(c): |
| 43 pass | 43 pass |
| 44 | 44 |
| 45 | 45 |
| 46 @config_ctx() | 46 @config_ctx() |
| 47 def arm_hard_float(c): | |
| 48 c.gyp_env.CXX = '/usr/bin/arm-linux-gnueabihf-g++' | |
| 49 c.gyp_env.LINK = '/usr/bin/arm-linux-gnueabihf-g++' | |
| 50 | |
| 51 | |
| 52 @config_ctx() | |
| 53 def deopt_fuzz_normal(c): | 47 def deopt_fuzz_normal(c): |
| 54 c.testing.test_args.append('--coverage=0.4') | 48 c.testing.test_args.append('--coverage=0.4') |
| 55 c.testing.test_args.append('--distribution-mode=smooth') | 49 c.testing.test_args.append('--distribution-mode=smooth') |
| 56 | 50 |
| 57 | 51 |
| 58 @config_ctx() | 52 @config_ctx() |
| 59 def deopt_fuzz_random(c): | 53 def deopt_fuzz_random(c): |
| 60 c.testing.test_args.append('--coverage=0.4') | 54 c.testing.test_args.append('--coverage=0.4') |
| 61 c.testing.test_args.append('--coverage-lift=50') | 55 c.testing.test_args.append('--coverage-lift=50') |
| 62 c.testing.test_args.append('--distribution-mode=random') | 56 c.testing.test_args.append('--distribution-mode=random') |
| (...skipping 30 matching lines...) Expand all Loading... |
| 93 | 87 |
| 94 | 88 |
| 95 @config_ctx() | 89 @config_ctx() |
| 96 def no_harness(c): | 90 def no_harness(c): |
| 97 c.testing.test_args.append('--no-harness') | 91 c.testing.test_args.append('--no-harness') |
| 98 | 92 |
| 99 | 93 |
| 100 @config_ctx() | 94 @config_ctx() |
| 101 def predictable(c): | 95 def predictable(c): |
| 102 c.testing.test_args.append('--predictable') | 96 c.testing.test_args.append('--predictable') |
| OLD | NEW |