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) | |
34 MjsunitExtra_3 = TestStepConfig('mjsunit_extra', shards=3) | 33 MjsunitExtra_3 = TestStepConfig('mjsunit_extra', shards=3) |
35 MjsunitIgnitionTurbofan_2 = TestStepConfig( | 34 MjsunitIgnitionTurbofan_2 = TestStepConfig( |
36 'mjsunit_ignition_turbofan', shards=2) | 35 'mjsunit_ignition_turbofan', shards=2) |
37 MjsunitSPFrameAccess = TestStepConfig('mjsunit_sp_frame_access') | 36 MjsunitSPFrameAccess = TestStepConfig('mjsunit_sp_frame_access') |
38 Mozilla = TestStepConfig('mozilla') | 37 Mozilla = TestStepConfig('mozilla') |
39 OptimizeForSize = TestStepConfig('optimize_for_size') | 38 OptimizeForSize = TestStepConfig('optimize_for_size') |
40 Presubmit = TestStepConfig('presubmit') | 39 Presubmit = TestStepConfig('presubmit') |
41 SimdJs = TestStepConfig('simdjs') | 40 SimdJs = TestStepConfig('simdjs') |
42 SimpleLeak = TestStepConfig('simpleleak') | 41 SimpleLeak = TestStepConfig('simpleleak') |
43 Test262 = TestStepConfig('test262') | 42 Test262 = TestStepConfig('test262') |
(...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 'v8_config_kwargs': { | 1461 'v8_config_kwargs': { |
1463 'BUILD_CONFIG': 'Debug', | 1462 'BUILD_CONFIG': 'Debug', |
1464 'TARGET_BITS': 64, | 1463 'TARGET_BITS': 64, |
1465 }, | 1464 }, |
1466 'bot_type': 'builder_tester', | 1465 'bot_type': 'builder_tester', |
1467 'enable_swarming': True, | 1466 'enable_swarming': True, |
1468 'swarming_properties': { | 1467 'swarming_properties': { |
1469 'default_expiration': 2 * 60 * 60, | 1468 'default_expiration': 2 * 60 * 60, |
1470 'default_priority': 35, | 1469 'default_priority': 35, |
1471 }, | 1470 }, |
1472 'tests': [Mjsunit_4, Webkit], | 1471 'tests': [Mjsunit_3, Webkit], |
1473 'testing': {'platform': 'linux'}, | 1472 'testing': {'platform': 'linux'}, |
1474 }, | 1473 }, |
1475 ####### Category: MIPS | 1474 ####### Category: MIPS |
1476 'V8 Mips - builder': { | 1475 'V8 Mips - builder': { |
1477 # TODO(machenbach): Switch this bot manually to gn. | 1476 # TODO(machenbach): Switch this bot manually to gn. |
1478 'chromium_apply_config': ['no_snapshot', 'no_i18n'], | 1477 'chromium_apply_config': ['no_snapshot', 'no_i18n'], |
1479 'v8_apply_config': ['mips_cross_compile', 'no_snapshot', 'no_i18n'], | 1478 'v8_apply_config': ['mips_cross_compile', 'no_snapshot', 'no_i18n'], |
1480 'v8_config_kwargs': { | 1479 'v8_config_kwargs': { |
1481 'BUILD_CONFIG': 'Release', | 1480 'BUILD_CONFIG': 'Release', |
1482 'TARGET_ARCH': 'mips', | 1481 'TARGET_ARCH': 'mips', |
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2775 win['chromium_apply_config'].extend(['msvs2013']) | 2774 win['chromium_apply_config'].extend(['msvs2013']) |
2776 | 2775 |
2777 BUILDERS = freeze(BUILDERS) | 2776 BUILDERS = freeze(BUILDERS) |
2778 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2777 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
2779 | 2778 |
2780 def iter_builders(): | 2779 def iter_builders(): |
2781 for mastername, master_config in BUILDERS.iteritems(): | 2780 for mastername, master_config in BUILDERS.iteritems(): |
2782 builders = master_config['builders'] | 2781 builders = master_config['builders'] |
2783 for buildername, bot_config in builders.iteritems(): | 2782 for buildername, bot_config in builders.iteritems(): |
2784 yield mastername, builders, buildername, bot_config | 2783 yield mastername, builders, buildername, bot_config |
OLD | NEW |