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

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

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: 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 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 from . import steps 5 from . import steps
6 6
7 7
8 SPEC = { 8 SPEC = {
9 'settings': { 9 'settings': {
10 'build_gs_bucket': 'chromium-android-archive', 10 'build_gs_bucket': 'chromium-android-archive',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 'gclient_config': 'chromium', 118 'gclient_config': 'chromium',
119 'gclient_apply_config': ['android'], 119 'gclient_apply_config': ['android'],
120 'chromium_config_kwargs': { 120 'chromium_config_kwargs': {
121 'BUILD_CONFIG': 'Debug', 121 'BUILD_CONFIG': 'Debug',
122 'TARGET_PLATFORM': 'android', 122 'TARGET_PLATFORM': 'android',
123 }, 123 },
124 'parent_buildername': 'Android arm Builder (dbg)', 124 'parent_buildername': 'Android arm Builder (dbg)',
125 'bot_type': 'tester', 125 'bot_type': 'tester',
126 'android_config': 'main_builder_mb', 126 'android_config': 'main_builder_mb',
127 'test_results_config': 'public_server', 127 'test_results_config': 'public_server',
128 'test_generators': [
129 steps.generate_gtest,
130 steps.generate_instrumentation_test,
131 steps.generate_isolated_script,
132 steps.generate_junit_test,
133 steps.generate_script,
134 ],
135 'testing': { 128 'testing': {
136 'platform': 'linux', 129 'platform': 'linux',
137 }, 130 },
138 }, 131 },
139 132
140 'KitKat Tablet Tester': { 133 'KitKat Tablet Tester': {
141 'chromium_config': 'android', 134 'chromium_config': 'android',
142 'gclient_config': 'chromium', 135 'gclient_config': 'chromium',
143 'gclient_apply_config': ['android'], 136 'gclient_apply_config': ['android'],
144 'chromium_config_kwargs': { 137 'chromium_config_kwargs': {
145 'BUILD_CONFIG': 'Debug', 138 'BUILD_CONFIG': 'Debug',
146 'TARGET_PLATFORM': 'android', 139 'TARGET_PLATFORM': 'android',
147 }, 140 },
148 'parent_buildername': 'Android arm Builder (dbg)', 141 'parent_buildername': 'Android arm Builder (dbg)',
149 'bot_type': 'tester', 142 'bot_type': 'tester',
150 'android_config': 'main_builder_mb', 143 'android_config': 'main_builder_mb',
151 'test_results_config': 'public_server', 144 'test_results_config': 'public_server',
152 'test_generators': [
153 steps.generate_gtest,
154 steps.generate_instrumentation_test,
155 steps.generate_isolated_script,
156 steps.generate_junit_test,
157 steps.generate_script,
158 ],
159 'testing': { 145 'testing': {
160 'platform': 'linux', 146 'platform': 'linux',
161 }, 147 },
162 }, 148 },
163 149
164 'Marshmallow 64 bit Tester': { 150 'Marshmallow 64 bit Tester': {
165 'enable_swarming': True, 151 'enable_swarming': True,
166 'chromium_config': 'android', 152 'chromium_config': 'android',
167 'gclient_config': 'chromium', 153 'gclient_config': 'chromium',
168 'gclient_apply_config': ['android'], 154 'gclient_apply_config': ['android'],
169 'chromium_config_kwargs': { 155 'chromium_config_kwargs': {
170 'BUILD_CONFIG': 'Debug', 156 'BUILD_CONFIG': 'Debug',
171 'TARGET_PLATFORM': 'android', 157 'TARGET_PLATFORM': 'android',
172 }, 158 },
173 'parent_buildername': 'Android arm64 Builder (dbg)', 159 'parent_buildername': 'Android arm64 Builder (dbg)',
174 'bot_type': 'tester', 160 'bot_type': 'tester',
175 'android_config': 'arm64_builder_mb', 161 'android_config': 'arm64_builder_mb',
176 'test_results_config': 'public_server', 162 'test_results_config': 'public_server',
177 'test_generators': [
178 steps.generate_gtest,
179 steps.generate_instrumentation_test,
180 steps.generate_isolated_script,
181 steps.generate_junit_test,
182 steps.generate_script,
183 ],
184 'testing': { 163 'testing': {
185 'platform': 'linux', 164 'platform': 'linux',
186 }, 165 },
187 }, 166 },
188 167
189 'Lollipop Consumer Tester': { 168 'Lollipop Consumer Tester': {
190 'chromium_config': 'android', 169 'chromium_config': 'android',
191 'gclient_config': 'chromium', 170 'gclient_config': 'chromium',
192 'gclient_apply_config': ['android'], 171 'gclient_apply_config': ['android'],
193 'chromium_config_kwargs': { 172 'chromium_config_kwargs': {
194 'BUILD_CONFIG': 'Debug', 173 'BUILD_CONFIG': 'Debug',
195 'TARGET_PLATFORM': 'android', 174 'TARGET_PLATFORM': 'android',
196 }, 175 },
197 'parent_buildername': 'Android arm64 Builder (dbg)', 176 'parent_buildername': 'Android arm64 Builder (dbg)',
198 'bot_type': 'tester', 177 'bot_type': 'tester',
199 'android_config': 'arm64_builder_mb', 178 'android_config': 'arm64_builder_mb',
200 'test_results_config': 'public_server', 179 'test_results_config': 'public_server',
201 'test_generators': [
202 steps.generate_gtest,
203 steps.generate_instrumentation_test,
204 steps.generate_isolated_script,
205 steps.generate_junit_test,
206 steps.generate_script,
207 ],
208 'testing': { 180 'testing': {
209 'platform': 'linux', 181 'platform': 'linux',
210 }, 182 },
211 }, 183 },
212 184
213 'Lollipop Low-end Tester': { 185 'Lollipop Low-end Tester': {
214 'chromium_config': 'android', 186 'chromium_config': 'android',
215 'gclient_config': 'chromium', 187 'gclient_config': 'chromium',
216 'gclient_apply_config': ['android'], 188 'gclient_apply_config': ['android'],
217 'chromium_config_kwargs': { 189 'chromium_config_kwargs': {
218 'BUILD_CONFIG': 'Debug', 190 'BUILD_CONFIG': 'Debug',
219 'TARGET_PLATFORM': 'android', 191 'TARGET_PLATFORM': 'android',
220 }, 192 },
221 'parent_buildername': 'Android arm Builder (dbg)', 193 'parent_buildername': 'Android arm Builder (dbg)',
222 'bot_type': 'tester', 194 'bot_type': 'tester',
223 'android_config': 'main_builder_mb', 195 'android_config': 'main_builder_mb',
224 'test_results_config': 'public_server', 196 'test_results_config': 'public_server',
225 'test_generators': [
226 steps.generate_gtest,
227 steps.generate_instrumentation_test,
228 steps.generate_isolated_script,
229 steps.generate_junit_test,
230 steps.generate_script,
231 ],
232 'testing': { 197 'testing': {
233 'platform': 'linux', 198 'platform': 'linux',
234 }, 199 },
235 }, 200 },
236 201
237 'Lollipop Phone Tester': { 202 'Lollipop Phone Tester': {
238 'chromium_config': 'android', 203 'chromium_config': 'android',
239 'gclient_config': 'chromium', 204 'gclient_config': 'chromium',
240 'gclient_apply_config': ['android'], 205 'gclient_apply_config': ['android'],
241 'chromium_config_kwargs': { 206 'chromium_config_kwargs': {
242 'BUILD_CONFIG': 'Debug', 207 'BUILD_CONFIG': 'Debug',
243 'TARGET_PLATFORM': 'android', 208 'TARGET_PLATFORM': 'android',
244 }, 209 },
245 'parent_buildername': 'Android arm Builder (dbg)', 210 'parent_buildername': 'Android arm Builder (dbg)',
246 'bot_type': 'tester', 211 'bot_type': 'tester',
247 'android_config': 'main_builder_mb', 212 'android_config': 'main_builder_mb',
248 'test_results_config': 'public_server', 213 'test_results_config': 'public_server',
249 'test_generators': [
250 steps.generate_gtest,
251 steps.generate_instrumentation_test,
252 steps.generate_isolated_script,
253 steps.generate_junit_test,
254 steps.generate_script,
255 ],
256 'testing': { 214 'testing': {
257 'platform': 'linux', 215 'platform': 'linux',
258 }, 216 },
259 }, 217 },
260 218
261 'Lollipop Tablet Tester': { 219 'Lollipop Tablet Tester': {
262 'chromium_config': 'android', 220 'chromium_config': 'android',
263 'gclient_config': 'chromium', 221 'gclient_config': 'chromium',
264 'gclient_apply_config': ['android'], 222 'gclient_apply_config': ['android'],
265 'chromium_config_kwargs': { 223 'chromium_config_kwargs': {
266 'BUILD_CONFIG': 'Debug', 224 'BUILD_CONFIG': 'Debug',
267 'TARGET_PLATFORM': 'android', 225 'TARGET_PLATFORM': 'android',
268 }, 226 },
269 'parent_buildername': 'Android arm Builder (dbg)', 227 'parent_buildername': 'Android arm Builder (dbg)',
270 'bot_type': 'tester', 228 'bot_type': 'tester',
271 'android_config': 'main_builder_mb', 229 'android_config': 'main_builder_mb',
272 'test_results_config': 'public_server', 230 'test_results_config': 'public_server',
273 'test_generators': [
274 steps.generate_gtest,
275 steps.generate_instrumentation_test,
276 steps.generate_isolated_script,
277 steps.generate_junit_test,
278 steps.generate_script,
279 ],
280 'testing': { 231 'testing': {
281 'platform': 'linux', 232 'platform': 'linux',
282 }, 233 },
283 }, 234 },
284 235
285 'Marshmallow Tablet Tester': { 236 'Marshmallow Tablet Tester': {
286 'chromium_config': 'android', 237 'chromium_config': 'android',
287 'gclient_config': 'chromium', 238 'gclient_config': 'chromium',
288 'gclient_apply_config': ['android'], 239 'gclient_apply_config': ['android'],
289 'chromium_config_kwargs': { 240 'chromium_config_kwargs': {
290 'BUILD_CONFIG': 'Debug', 241 'BUILD_CONFIG': 'Debug',
291 'TARGET_PLATFORM': 'android', 242 'TARGET_PLATFORM': 'android',
292 }, 243 },
293 'parent_buildername': 'Android arm Builder (dbg)', 244 'parent_buildername': 'Android arm Builder (dbg)',
294 'bot_type': 'tester', 245 'bot_type': 'tester',
295 'android_config': 'main_builder_mb', 246 'android_config': 'main_builder_mb',
296 'test_results_config': 'public_server', 247 'test_results_config': 'public_server',
297 'test_generators': [
298 steps.generate_gtest,
299 steps.generate_instrumentation_test,
300 steps.generate_isolated_script,
301 steps.generate_junit_test,
302 steps.generate_script,
303 ],
304 'testing': { 248 'testing': {
305 'platform': 'linux', 249 'platform': 'linux',
306 }, 250 },
307 }, 251 },
308 252
309 'Android Swarm Builder': { 253 'Android Swarm Builder': {
310 'use_isolate': True, 254 'use_isolate': True,
311 'enable_swarming': True, 255 'enable_swarming': True,
312 'chromium_config': 'android', 256 'chromium_config': 'android',
313 'chromium_apply_config': ['chrome_with_codecs'], 257 'chromium_apply_config': ['chrome_with_codecs'],
314 'gclient_config': 'chromium', 258 'gclient_config': 'chromium',
315 'gclient_apply_config': ['android'], 259 'gclient_apply_config': ['android'],
316 'chromium_config_kwargs': { 260 'chromium_config_kwargs': {
317 'BUILD_CONFIG': 'Release', 261 'BUILD_CONFIG': 'Release',
318 'TARGET_BITS': 32, 262 'TARGET_BITS': 32,
319 'TARGET_PLATFORM': 'android', 263 'TARGET_PLATFORM': 'android',
320 }, 264 },
321 'android_config': 'main_builder_mb', 265 'android_config': 'main_builder_mb',
322 'test_results_config': 'public_server', 266 'test_results_config': 'public_server',
323 'bot_type': 'builder_tester', 267 'bot_type': 'builder_tester',
324 'testing': { 268 'testing': {
325 'platform': 'linux', 269 'platform': 'linux',
326 }, 270 },
327 'tests': [
328 ],
329 'test_generators': [
330 steps.generate_gtest,
331 steps.generate_instrumentation_test,
332 steps.generate_isolated_script,
333 steps.generate_junit_test,
334 steps.generate_script,
335 ],
336 }, 271 },
337 272
338 'Android N5X Swarm Builder': { 273 'Android N5X Swarm Builder': {
339 'use_isolate': True, 274 'use_isolate': True,
340 'enable_swarming': True, 275 'enable_swarming': True,
341 'chromium_config': 'android', 276 'chromium_config': 'android',
342 'chromium_apply_config': ['chrome_with_codecs'], 277 'chromium_apply_config': ['chrome_with_codecs'],
343 'gclient_config': 'chromium', 278 'gclient_config': 'chromium',
344 'gclient_apply_config': ['android'], 279 'gclient_apply_config': ['android'],
345 'chromium_config_kwargs': { 280 'chromium_config_kwargs': {
346 'BUILD_CONFIG': 'Release', 281 'BUILD_CONFIG': 'Release',
347 'TARGET_BITS': 64, 282 'TARGET_BITS': 64,
348 'TARGET_PLATFORM': 'android', 283 'TARGET_PLATFORM': 'android',
349 }, 284 },
350 'android_config': 'main_builder_mb', 285 'android_config': 'main_builder_mb',
351 'test_results_config': 'public_server', 286 'test_results_config': 'public_server',
352 'bot_type': 'builder_tester', 287 'bot_type': 'builder_tester',
353 'testing': { 288 'testing': {
354 'platform': 'linux', 289 'platform': 'linux',
355 }, 290 },
356 'tests': [
357 ],
358 'test_generators': [
359 steps.generate_gtest,
360 steps.generate_instrumentation_test,
361 steps.generate_isolated_script,
362 steps.generate_junit_test,
363 steps.generate_script,
364 ],
365 }, 291 },
366 292
367 'Android Webview L (dbg)': { 293 'Android Webview L (dbg)': {
368 'chromium_config': 'android', 294 'chromium_config': 'android',
369 'gclient_config': 'chromium', 295 'gclient_config': 'chromium',
370 'gclient_apply_config': ['android'], 296 'gclient_apply_config': ['android'],
371 'chromium_config_kwargs': { 297 'chromium_config_kwargs': {
372 'BUILD_CONFIG': 'Debug', 298 'BUILD_CONFIG': 'Debug',
373 'TARGET_PLATFORM': 'android', 299 'TARGET_PLATFORM': 'android',
374 }, 300 },
375 'parent_buildername': 'Android arm Builder (dbg)', 301 'parent_buildername': 'Android arm Builder (dbg)',
376 'bot_type': 'tester', 302 'bot_type': 'tester',
377 'android_config': 'main_builder_mb', 303 'android_config': 'main_builder_mb',
378 'test_results_config': 'public_server', 304 'test_results_config': 'public_server',
379 'remove_system_webview': True, 305 'remove_system_webview': True,
380 'tests': [ 306 'tests': [
381 steps.AndroidInstrumentationTest('SystemWebViewShellLayoutTest'), 307 steps.AndroidInstrumentationTest('SystemWebViewShellLayoutTest'),
382 ], 308 ],
383 'test_generators': [
384 steps.generate_gtest,
385 steps.generate_script,
386 steps.generate_isolated_script,
387 steps.generate_junit_test,
388 ],
389 'testing': { 309 'testing': {
390 'platform': 'linux', 310 'platform': 'linux',
391 }, 311 },
392 }, 312 },
393 313
394 'Android Webview M (dbg)': { 314 'Android Webview M (dbg)': {
395 'chromium_config': 'android', 315 'chromium_config': 'android',
396 'gclient_config': 'chromium', 316 'gclient_config': 'chromium',
397 'gclient_apply_config': ['android'], 317 'gclient_apply_config': ['android'],
398 'chromium_config_kwargs': { 318 'chromium_config_kwargs': {
399 'BUILD_CONFIG': 'Debug', 319 'BUILD_CONFIG': 'Debug',
400 'TARGET_PLATFORM': 'android', 320 'TARGET_PLATFORM': 'android',
401 }, 321 },
402 'parent_buildername': 'Android arm Builder (dbg)', 322 'parent_buildername': 'Android arm Builder (dbg)',
403 'bot_type': 'tester', 323 'bot_type': 'tester',
404 'android_config': 'main_builder_mb', 324 'android_config': 'main_builder_mb',
405 'test_results_config': 'public_server', 325 'test_results_config': 'public_server',
406 'remove_system_webview': True, 326 'remove_system_webview': True,
407 'tests': [ 327 'tests': [
408 steps.AndroidInstrumentationTest('SystemWebViewShellLayoutTest'), 328 steps.AndroidInstrumentationTest('SystemWebViewShellLayoutTest'),
409 ], 329 ],
410 'test_generators': [
411 steps.generate_gtest,
412 steps.generate_script,
413 steps.generate_isolated_script,
414 steps.generate_junit_test,
415 ],
416 'testing': { 330 'testing': {
417 'platform': 'linux', 331 'platform': 'linux',
418 }, 332 },
419 }, 333 },
420 334
421 'Android WebView CTS L-MR1 (dbg)': { 335 'Android WebView CTS L-MR1 (dbg)': {
422 'chromium_config': 'android', 336 'chromium_config': 'android',
423 'gclient_config': 'chromium', 337 'gclient_config': 'chromium',
424 'gclient_apply_config': ['android'], 338 'gclient_apply_config': ['android'],
425 'chromium_config_kwargs': { 339 'chromium_config_kwargs': {
426 'BUILD_CONFIG': 'Debug', 340 'BUILD_CONFIG': 'Debug',
427 'TARGET_PLATFORM': 'android', 341 'TARGET_PLATFORM': 'android',
428 }, 342 },
429 'parent_buildername': 'Android arm Builder (dbg)', 343 'parent_buildername': 'Android arm Builder (dbg)',
430 'bot_type': 'tester', 344 'bot_type': 'tester',
431 'android_config': 'main_builder_mb', 345 'android_config': 'main_builder_mb',
432 'test_results_config': 'public_server', 346 'test_results_config': 'public_server',
433 'remove_system_webview': True, 347 'remove_system_webview': True,
434 'tests': [ 348 'tests': [
435 steps.WebViewCTSTest(), 349 steps.WebViewCTSTest(),
436 ], 350 ],
437 'test_generators': [
438 steps.generate_gtest,
439 steps.generate_script,
440 steps.generate_isolated_script,
441 steps.generate_junit_test,
442 ],
443 'testing': { 351 'testing': {
444 'platform': 'linux', 352 'platform': 'linux',
445 }, 353 },
446 }, 354 },
447 }, 355 },
448 } 356 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698