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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_gpu.py

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: rebase Created 4 years, 2 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
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 from . import steps 5 from . import steps
6 6
7 SPEC = { 7 SPEC = {
8 'settings': { 8 'settings': {
9 'build_gs_bucket': 'chromium-gpu-archive', 9 'build_gs_bucket': 'chromium-gpu-archive',
10 # WARNING: src-side runtest.py is only tested with chromium CQ builders. 10 # WARNING: src-side runtest.py is only tested with chromium CQ builders.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 }, 60 },
61 'Win7 Release (NVIDIA)': { 61 'Win7 Release (NVIDIA)': {
62 'chromium_config': 'chromium', 62 'chromium_config': 'chromium',
63 'chromium_apply_config': ['ninja_confirm_noop'], 63 'chromium_apply_config': ['ninja_confirm_noop'],
64 'gclient_config': 'chromium', 64 'gclient_config': 'chromium',
65 'chromium_config_kwargs': { 65 'chromium_config_kwargs': {
66 'BUILD_CONFIG': 'Release', 66 'BUILD_CONFIG': 'Release',
67 'TARGET_BITS': 32, 67 'TARGET_BITS': 32,
68 }, 68 },
69 'bot_type': 'tester', 69 'bot_type': 'tester',
70 'test_generators': [
71 steps.generate_gtest,
72 steps.generate_script,
73 steps.generate_isolated_script,
74 ],
75 'parent_buildername': 'GPU Win Builder', 70 'parent_buildername': 'GPU Win Builder',
76 'testing': { 71 'testing': {
77 'platform': 'win', 72 'platform': 'win',
78 }, 73 },
79 'enable_swarming': True, 74 'enable_swarming': True,
80 }, 75 },
81 'Win7 Debug (NVIDIA)': { 76 'Win7 Debug (NVIDIA)': {
82 'chromium_config': 'chromium', 77 'chromium_config': 'chromium',
83 'chromium_apply_config': ['ninja_confirm_noop'], 78 'chromium_apply_config': ['ninja_confirm_noop'],
84 'gclient_config': 'chromium', 79 'gclient_config': 'chromium',
85 'chromium_config_kwargs': { 80 'chromium_config_kwargs': {
86 'BUILD_CONFIG': 'Debug', 81 'BUILD_CONFIG': 'Debug',
87 'TARGET_BITS': 32, 82 'TARGET_BITS': 32,
88 }, 83 },
89 'bot_type': 'tester', 84 'bot_type': 'tester',
90 'test_generators': [
91 steps.generate_gtest,
92 steps.generate_script,
93 steps.generate_isolated_script,
94 ],
95 'parent_buildername': 'GPU Win Builder (dbg)', 85 'parent_buildername': 'GPU Win Builder (dbg)',
96 'testing': { 86 'testing': {
97 'platform': 'win', 87 'platform': 'win',
98 }, 88 },
99 'enable_swarming': True, 89 'enable_swarming': True,
100 }, 90 },
101 'GPU Linux Builder': { 91 'GPU Linux Builder': {
102 'chromium_config': 'chromium', 92 'chromium_config': 'chromium',
103 'chromium_apply_config': [ 93 'chromium_apply_config': [
104 'mb', 94 'mb',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 }, 135 },
146 'Linux Release (NVIDIA)': { 136 'Linux Release (NVIDIA)': {
147 'chromium_config': 'chromium', 137 'chromium_config': 'chromium',
148 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 138 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
149 'gclient_config': 'chromium', 139 'gclient_config': 'chromium',
150 'chromium_config_kwargs': { 140 'chromium_config_kwargs': {
151 'BUILD_CONFIG': 'Release', 141 'BUILD_CONFIG': 'Release',
152 'TARGET_BITS': 64, 142 'TARGET_BITS': 64,
153 }, 143 },
154 'bot_type': 'tester', 144 'bot_type': 'tester',
155 'test_generators': [
156 steps.generate_gtest,
157 steps.generate_script,
158 steps.generate_isolated_script,
159 ],
160 'parent_buildername': 'GPU Linux Builder', 145 'parent_buildername': 'GPU Linux Builder',
161 'testing': { 146 'testing': {
162 'platform': 'linux', 147 'platform': 'linux',
163 }, 148 },
164 'enable_swarming': True, 149 'enable_swarming': True,
165 }, 150 },
166 'Linux Debug (NVIDIA)': { 151 'Linux Debug (NVIDIA)': {
167 'chromium_config': 'chromium', 152 'chromium_config': 'chromium',
168 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 153 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
169 'gclient_config': 'chromium', 154 'gclient_config': 'chromium',
170 'chromium_config_kwargs': { 155 'chromium_config_kwargs': {
171 'BUILD_CONFIG': 'Debug', 156 'BUILD_CONFIG': 'Debug',
172 'TARGET_BITS': 64, 157 'TARGET_BITS': 64,
173 }, 158 },
174 'bot_type': 'tester', 159 'bot_type': 'tester',
175 'test_generators': [
176 steps.generate_gtest,
177 steps.generate_script,
178 steps.generate_isolated_script,
179 ],
180 'parent_buildername': 'GPU Linux Builder (dbg)', 160 'parent_buildername': 'GPU Linux Builder (dbg)',
181 'testing': { 161 'testing': {
182 'platform': 'linux', 162 'platform': 'linux',
183 }, 163 },
184 'enable_swarming': True, 164 'enable_swarming': True,
185 }, 165 },
186 'GPU Mac Builder': { 166 'GPU Mac Builder': {
187 'chromium_config': 'chromium', 167 'chromium_config': 'chromium',
188 'chromium_apply_config': [ 168 'chromium_apply_config': [
189 'archive_gpu_tests', 169 'archive_gpu_tests',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 'use_isolate': True, 211 'use_isolate': True,
232 }, 212 },
233 'Mac 10.10 Release (Intel)': { 213 'Mac 10.10 Release (Intel)': {
234 'chromium_config': 'chromium', 214 'chromium_config': 'chromium',
235 'chromium_apply_config': ['ninja_confirm_noop'], 215 'chromium_apply_config': ['ninja_confirm_noop'],
236 'gclient_config': 'chromium', 216 'gclient_config': 'chromium',
237 'chromium_config_kwargs': { 217 'chromium_config_kwargs': {
238 'BUILD_CONFIG': 'Release', 218 'BUILD_CONFIG': 'Release',
239 'TARGET_BITS': 64, 219 'TARGET_BITS': 64,
240 }, 220 },
241 'test_generators': [
242 steps.generate_gtest,
243 steps.generate_script,
244 steps.generate_isolated_script,
245 ],
246 'bot_type': 'tester', 221 'bot_type': 'tester',
247 'parent_buildername': 'GPU Mac Builder', 222 'parent_buildername': 'GPU Mac Builder',
248 'testing': { 223 'testing': {
249 'platform': 'mac', 224 'platform': 'mac',
250 }, 225 },
251 'enable_swarming': True, 226 'enable_swarming': True,
252 }, 227 },
253 'Mac 10.10 Debug (Intel)': { 228 'Mac 10.10 Debug (Intel)': {
254 'chromium_config': 'chromium', 229 'chromium_config': 'chromium',
255 'chromium_apply_config': ['ninja_confirm_noop'], 230 'chromium_apply_config': ['ninja_confirm_noop'],
256 'gclient_config': 'chromium', 231 'gclient_config': 'chromium',
257 'chromium_config_kwargs': { 232 'chromium_config_kwargs': {
258 'BUILD_CONFIG': 'Debug', 233 'BUILD_CONFIG': 'Debug',
259 'TARGET_BITS': 64, 234 'TARGET_BITS': 64,
260 }, 235 },
261 'test_generators': [
262 steps.generate_gtest,
263 steps.generate_script,
264 steps.generate_isolated_script,
265 ],
266 'bot_type': 'tester', 236 'bot_type': 'tester',
267 'parent_buildername': 'GPU Mac Builder (dbg)', 237 'parent_buildername': 'GPU Mac Builder (dbg)',
268 'testing': { 238 'testing': {
269 'platform': 'mac', 239 'platform': 'mac',
270 }, 240 },
271 'enable_swarming': True, 241 'enable_swarming': True,
272 }, 242 },
273 'Mac 10.10 Retina Release (AMD)': { 243 'Mac 10.10 Retina Release (AMD)': {
274 'chromium_config': 'chromium', 244 'chromium_config': 'chromium',
275 'chromium_apply_config': ['ninja_confirm_noop'], 245 'chromium_apply_config': ['ninja_confirm_noop'],
276 'gclient_config': 'chromium', 246 'gclient_config': 'chromium',
277 'chromium_config_kwargs': { 247 'chromium_config_kwargs': {
278 'BUILD_CONFIG': 'Release', 248 'BUILD_CONFIG': 'Release',
279 'TARGET_BITS': 64, 249 'TARGET_BITS': 64,
280 }, 250 },
281 'test_generators': [
282 steps.generate_gtest,
283 steps.generate_script,
284 steps.generate_isolated_script,
285 ],
286 'bot_type': 'tester', 251 'bot_type': 'tester',
287 'parent_buildername': 'GPU Mac Builder', 252 'parent_buildername': 'GPU Mac Builder',
288 'testing': { 253 'testing': {
289 'platform': 'mac', 254 'platform': 'mac',
290 }, 255 },
291 'enable_swarming': True, 256 'enable_swarming': True,
292 }, 257 },
293 'Mac 10.10 Retina Debug (AMD)': { 258 'Mac 10.10 Retina Debug (AMD)': {
294 'chromium_config': 'chromium', 259 'chromium_config': 'chromium',
295 'chromium_apply_config': ['ninja_confirm_noop'], 260 'chromium_apply_config': ['ninja_confirm_noop'],
296 'gclient_config': 'chromium', 261 'gclient_config': 'chromium',
297 'chromium_config_kwargs': { 262 'chromium_config_kwargs': {
298 'BUILD_CONFIG': 'Debug', 263 'BUILD_CONFIG': 'Debug',
299 'TARGET_BITS': 64, 264 'TARGET_BITS': 64,
300 }, 265 },
301 'test_generators': [
302 steps.generate_gtest,
303 steps.generate_script,
304 steps.generate_isolated_script,
305 ],
306 'bot_type': 'tester', 266 'bot_type': 'tester',
307 'parent_buildername': 'GPU Mac Builder (dbg)', 267 'parent_buildername': 'GPU Mac Builder (dbg)',
308 'testing': { 268 'testing': {
309 'platform': 'mac', 269 'platform': 'mac',
310 }, 270 },
311 'enable_swarming': True, 271 'enable_swarming': True,
312 }, 272 },
313 }, 273 },
314 } 274 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698