OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 | 8 |
9 class V8TestingVariants(object): | 9 class V8TestingVariants(object): |
10 """Immutable class to manage the testing variant passed to v8. | 10 """Immutable class to manage the testing variant passed to v8. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 'jsfunfuzz': { | 89 'jsfunfuzz': { |
90 'tool': 'jsfunfuzz', | 90 'tool': 'jsfunfuzz', |
91 'isolated_target': 'jsfunfuzz', | 91 'isolated_target': 'jsfunfuzz', |
92 }, | 92 }, |
93 'gcmole': { | 93 'gcmole': { |
94 'tool': 'run-gcmole', | 94 'tool': 'run-gcmole', |
95 'isolated_target': 'run-gcmole', | 95 'isolated_target': 'run-gcmole', |
96 }, | 96 }, |
97 'ignition_turbofan': { | 97 'ignition_turbofan': { |
98 'name': 'Ignition - turbofan', | 98 'name': 'Ignition - turbofan', |
99 'tests': ['ignition'], | 99 'tests': ['bot_default'], |
100 'test_args': ['--ignition-turbofan'], | 100 'test_args': ['--ignition-turbofan'], |
| 101 'suite_mapping': [ |
| 102 'mjsunit', 'cctest', 'webkit', 'message', 'preparser', 'intl'], |
101 'variants': V8Variant('ignition_turbofan'), | 103 'variants': V8Variant('ignition_turbofan'), |
102 }, | 104 }, |
103 'mjsunit': { | 105 'mjsunit': { |
104 'name': 'Mjsunit', | 106 'name': 'Mjsunit', |
105 'tests': ['mjsunit'], | 107 'tests': ['mjsunit'], |
106 }, | 108 }, |
107 'mjsunit_extra': { | 109 'mjsunit_extra': { |
108 'name': 'Mjsunit - extra', | 110 'name': 'Mjsunit - extra', |
109 'tests': ['mjsunit'], | 111 'tests': ['mjsunit'], |
110 'variants': V8Variant('extra'), | 112 'variants': V8Variant('extra'), |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 # TODO(machenbach): Implement swarming for non-standard tests. | 788 # TODO(machenbach): Implement swarming for non-standard tests. |
787 if v8_api.bot_config.get('enable_swarming') and test_step_config.swarming: | 789 if v8_api.bot_config.get('enable_swarming') and test_step_config.swarming: |
788 tools_mapping = TOOL_TO_TEST_SWARMING | 790 tools_mapping = TOOL_TO_TEST_SWARMING |
789 else: | 791 else: |
790 tools_mapping = TOOL_TO_TEST | 792 tools_mapping = TOOL_TO_TEST |
791 | 793 |
792 # The tool the test is going to use. Default: V8 test runner (run-tests). | 794 # The tool the test is going to use. Default: V8 test runner (run-tests). |
793 tool = TEST_CONFIGS[test_step_config.name].get('tool', 'run-tests') | 795 tool = TEST_CONFIGS[test_step_config.name].get('tool', 'run-tests') |
794 test_cls = tools_mapping[tool] | 796 test_cls = tools_mapping[tool] |
795 return test_cls(test_step_config, api, v8_api) | 797 return test_cls(test_step_config, api, v8_api) |
OLD | NEW |