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 # Contains the bulk of the V8 builder configurations so they can be reused | 5 # Contains the bulk of the V8 builder configurations so they can be reused |
6 # from multiple recipes. | 6 # from multiple recipes. |
7 | 7 |
8 from recipe_engine.types import freeze | 8 from recipe_engine.types import freeze |
9 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral | 9 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 # Top-level test configs for convenience. | 24 # Top-level test configs for convenience. |
25 Benchmarks = TestStepConfig('benchmarks') | 25 Benchmarks = TestStepConfig('benchmarks') |
26 Deopt = TestStepConfig('deopt') | 26 Deopt = TestStepConfig('deopt') |
27 Fuzz = TestStepConfig('jsfunfuzz') | 27 Fuzz = TestStepConfig('jsfunfuzz') |
28 GCMole = TestStepConfig('gcmole') | 28 GCMole = TestStepConfig('gcmole') |
29 IgnitionTurbofan = TestStepConfig('ignition_turbofan') | 29 IgnitionTurbofan = TestStepConfig('ignition_turbofan') |
30 Mjsunit = TestStepConfig('mjsunit') | 30 Mjsunit = TestStepConfig('mjsunit') |
31 Mjsunit_2 = TestStepConfig('mjsunit', shards=2) | 31 Mjsunit_2 = TestStepConfig('mjsunit', shards=2) |
32 Mjsunit_3 = TestStepConfig('mjsunit', shards=3) | 32 Mjsunit_3 = TestStepConfig('mjsunit', shards=3) |
| 33 Mjsunit_4 = TestStepConfig('mjsunit', shards=4) |
33 MjsunitExtra_3 = TestStepConfig('mjsunit_extra', shards=3) | 34 MjsunitExtra_3 = TestStepConfig('mjsunit_extra', shards=3) |
34 MjsunitIgnitionTurbofan_2 = TestStepConfig( | 35 MjsunitIgnitionTurbofan_2 = TestStepConfig( |
35 'mjsunit_ignition_turbofan', shards=2) | 36 'mjsunit_ignition_turbofan', shards=2) |
36 MjsunitSPFrameAccess = TestStepConfig('mjsunit_sp_frame_access') | 37 MjsunitSPFrameAccess = TestStepConfig('mjsunit_sp_frame_access') |
37 Mozilla = TestStepConfig('mozilla') | 38 Mozilla = TestStepConfig('mozilla') |
38 OptimizeForSize = TestStepConfig('optimize_for_size') | 39 OptimizeForSize = TestStepConfig('optimize_for_size') |
39 Presubmit = TestStepConfig('presubmit') | 40 Presubmit = TestStepConfig('presubmit') |
40 SimdJs = TestStepConfig('simdjs') | 41 SimdJs = TestStepConfig('simdjs') |
41 SimpleLeak = TestStepConfig('simpleleak') | 42 SimpleLeak = TestStepConfig('simpleleak') |
42 Test262 = TestStepConfig('test262') | 43 Test262 = TestStepConfig('test262') |
(...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1461 'v8_config_kwargs': { | 1462 'v8_config_kwargs': { |
1462 'BUILD_CONFIG': 'Debug', | 1463 'BUILD_CONFIG': 'Debug', |
1463 'TARGET_BITS': 64, | 1464 'TARGET_BITS': 64, |
1464 }, | 1465 }, |
1465 'bot_type': 'builder_tester', | 1466 'bot_type': 'builder_tester', |
1466 'enable_swarming': True, | 1467 'enable_swarming': True, |
1467 'swarming_properties': { | 1468 'swarming_properties': { |
1468 'default_expiration': 2 * 60 * 60, | 1469 'default_expiration': 2 * 60 * 60, |
1469 'default_priority': 35, | 1470 'default_priority': 35, |
1470 }, | 1471 }, |
1471 'tests': [Mjsunit_3, Webkit], | 1472 'tests': [Mjsunit_4, Webkit], |
1472 'testing': {'platform': 'linux'}, | 1473 'testing': {'platform': 'linux'}, |
1473 }, | 1474 }, |
1474 ####### Category: MIPS | 1475 ####### Category: MIPS |
1475 'V8 Mips - builder': { | 1476 'V8 Mips - builder': { |
1476 # TODO(machenbach): Switch this bot manually to gn. | 1477 # TODO(machenbach): Switch this bot manually to gn. |
1477 'chromium_apply_config': ['no_snapshot', 'no_i18n'], | 1478 'chromium_apply_config': ['no_snapshot', 'no_i18n'], |
1478 'v8_apply_config': ['mips_cross_compile', 'no_snapshot', 'no_i18n'], | 1479 'v8_apply_config': ['mips_cross_compile', 'no_snapshot', 'no_i18n'], |
1479 'v8_config_kwargs': { | 1480 'v8_config_kwargs': { |
1480 'BUILD_CONFIG': 'Release', | 1481 'BUILD_CONFIG': 'Release', |
1481 'TARGET_ARCH': 'mips', | 1482 'TARGET_ARCH': 'mips', |
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2774 win['chromium_apply_config'].extend(['msvs2013']) | 2775 win['chromium_apply_config'].extend(['msvs2013']) |
2775 | 2776 |
2776 BUILDERS = freeze(BUILDERS) | 2777 BUILDERS = freeze(BUILDERS) |
2777 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2778 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
2778 | 2779 |
2779 def iter_builders(): | 2780 def iter_builders(): |
2780 for mastername, master_config in BUILDERS.iteritems(): | 2781 for mastername, master_config in BUILDERS.iteritems(): |
2781 builders = master_config['builders'] | 2782 builders = master_config['builders'] |
2782 for buildername, bot_config in builders.iteritems(): | 2783 for buildername, bot_config in builders.iteritems(): |
2783 yield mastername, builders, buildername, bot_config | 2784 yield mastername, builders, buildername, bot_config |
OLD | NEW |