Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: scripts/slave/recipe_modules/v8/testing.py

Issue 2222913002: V8: Remove deprecated test-runner flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipes/v8.expected/full_client_v8_V8_Linux.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
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': ['bot_default'], 99 'tests': ['bot_default'],
100 'test_args': ['--ignition-turbofan'],
101 'suite_mapping': [ 100 'suite_mapping': [
102 'mjsunit', 'cctest', 'webkit', 'message', 'preparser', 'intl'], 101 'mjsunit', 'cctest', 'webkit', 'message', 'preparser', 'intl'],
103 'variants': V8Variant('ignition_turbofan'), 102 'variants': V8Variant('ignition_turbofan'),
104 }, 103 },
105 'mjsunit': { 104 'mjsunit': {
106 'name': 'Mjsunit', 105 'name': 'Mjsunit',
107 'tests': ['mjsunit'], 106 'tests': ['mjsunit'],
108 }, 107 },
109 'mjsunit_extra': { 108 'mjsunit_extra': {
110 'name': 'Mjsunit - extra', 109 'name': 'Mjsunit - extra',
111 'tests': ['mjsunit'], 110 'tests': ['mjsunit'],
112 'variants': V8Variant('extra'), 111 'variants': V8Variant('extra'),
113 }, 112 },
114 'mjsunit_ignition_turbofan': { 113 'mjsunit_ignition_turbofan': {
115 'name': 'Mjsunit - ignition - turbofan', 114 'name': 'Mjsunit - ignition - turbofan',
116 'tests': ['mjsunit'], 115 'tests': ['mjsunit'],
117 'test_args': ['--ignition-turbofan'],
118 'variants': V8Variant('ignition_turbofan'), 116 'variants': V8Variant('ignition_turbofan'),
119 }, 117 },
120 'mjsunit_sp_frame_access': { 118 'mjsunit_sp_frame_access': {
121 'name': 'Mjsunit - sp frame access', 119 'name': 'Mjsunit - sp frame access',
122 'tests': ['mjsunit'], 120 'tests': ['mjsunit'],
123 'test_args': ['--extra-flags=--turbo_sp_frame_access'], 121 'test_args': ['--extra-flags=--turbo_sp_frame_access'],
124 'variants': V8Variant('turbofan'), 122 'variants': V8Variant('turbofan'),
125 }, 123 },
126 'mozilla': { 124 'mozilla': {
127 'name': 'Mozilla', 125 'name': 'Mozilla',
(...skipping 23 matching lines...) Expand all
151 }, 149 },
152 'test262_extra': { 150 'test262_extra': {
153 'name': 'Test262 - extra', 151 'name': 'Test262 - extra',
154 'tests': ['test262'], 152 'tests': ['test262'],
155 'test_args': ['--download-data'], 153 'test_args': ['--download-data'],
156 'variants': V8Variant('extra'), 154 'variants': V8Variant('extra'),
157 }, 155 },
158 'test262_ignition_turbofan': { 156 'test262_ignition_turbofan': {
159 'name': 'Test262 - ignition - turbofan', 157 'name': 'Test262 - ignition - turbofan',
160 'tests': ['test262'], 158 'tests': ['test262'],
161 'test_args': ['--ignition-turbofan', '--download-data'], 159 'test_args': ['--download-data'],
162 'variants': V8Variant('ignition_turbofan'), 160 'variants': V8Variant('ignition_turbofan'),
163 }, 161 },
164 'test262_variants': { 162 'test262_variants': {
165 'name': 'Test262', 163 'name': 'Test262',
166 'tests': ['test262'], 164 'tests': ['test262'],
167 'test_args': ['--download-data'], 165 'test_args': ['--download-data'],
168 }, 166 },
169 'unittests': { 167 'unittests': {
170 'name': 'Unittests', 168 'name': 'Unittests',
171 'tests': ['unittests'], 169 'tests': ['unittests'],
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 # TODO(machenbach): Implement swarming for non-standard tests. 786 # TODO(machenbach): Implement swarming for non-standard tests.
789 if v8_api.bot_config.get('enable_swarming') and test_step_config.swarming: 787 if v8_api.bot_config.get('enable_swarming') and test_step_config.swarming:
790 tools_mapping = TOOL_TO_TEST_SWARMING 788 tools_mapping = TOOL_TO_TEST_SWARMING
791 else: 789 else:
792 tools_mapping = TOOL_TO_TEST 790 tools_mapping = TOOL_TO_TEST
793 791
794 # The tool the test is going to use. Default: V8 test runner (run-tests). 792 # The tool the test is going to use. Default: V8 test runner (run-tests).
795 tool = TEST_CONFIGS[test_step_config.name].get('tool', 'run-tests') 793 tool = TEST_CONFIGS[test_step_config.name].get('tool', 'run-tests')
796 test_cls = tools_mapping[tool] 794 test_cls = tools_mapping[tool]
797 return test_cls(test_step_config, api, v8_api) 795 return test_cls(test_step_config, api, v8_api)
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/v8.expected/full_client_v8_V8_Linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698