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 from . import steps | 5 from . import steps |
6 | 6 |
7 SPEC = { | 7 SPEC = { |
8 'settings': { | 8 'settings': { |
9 'build_gs_bucket': 'chromium-linux-archive', | 9 'build_gs_bucket': 'chromium-linux-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 25 matching lines...) Expand all Loading... |
36 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 36 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
37 'gclient_config': 'chromium', | 37 'gclient_config': 'chromium', |
38 'chromium_config_kwargs': { | 38 'chromium_config_kwargs': { |
39 'BUILD_CONFIG': 'Release', | 39 'BUILD_CONFIG': 'Release', |
40 'TARGET_BITS': 64, | 40 'TARGET_BITS': 64, |
41 }, | 41 }, |
42 'bot_type': 'tester', | 42 'bot_type': 'tester', |
43 'test_generators': [ | 43 'test_generators': [ |
44 steps.generate_gtest, | 44 steps.generate_gtest, |
45 steps.generate_script, | 45 steps.generate_script, |
| 46 steps.generate_isolated_script, |
46 ], | 47 ], |
47 'parent_buildername': 'Linux Builder', | 48 'parent_buildername': 'Linux Builder', |
48 'testing': { | 49 'testing': { |
| 50 'platform': 'linux', |
| 51 }, |
| 52 'enable_swarming': True, |
| 53 }, |
| 54 'Ned Tests': { |
| 55 'chromium_config': 'chromium', |
| 56 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
| 57 'gclient_config': 'chromium', |
| 58 'chromium_config_kwargs': { |
| 59 'BUILD_CONFIG': 'Release', |
| 60 'TARGET_BITS': 64, |
| 61 }, |
| 62 'bot_type': 'tester', |
| 63 'test_generators': [ |
| 64 steps.generate_gtest, |
| 65 steps.generate_script, |
| 66 steps.generate_isolated_script, |
| 67 ], |
| 68 'parent_buildername': 'Linux Builder', |
| 69 'testing': { |
49 'platform': 'linux', | 70 'platform': 'linux', |
50 }, | 71 }, |
51 'enable_swarming': True, | 72 'enable_swarming': True, |
52 }, | 73 }, |
53 'Linux GN': { | 74 'Linux GN': { |
54 'chromium_config': 'chromium', | 75 'chromium_config': 'chromium', |
55 'chromium_apply_config': ['mb'], | 76 'chromium_apply_config': ['mb'], |
56 'gclient_config': 'chromium', | 77 'gclient_config': 'chromium', |
57 'chromium_config_kwargs': { | 78 'chromium_config_kwargs': { |
58 'BUILD_CONFIG': 'Release', | 79 'BUILD_CONFIG': 'Release', |
59 'TARGET_PLATFORM': 'linux', | 80 'TARGET_PLATFORM': 'linux', |
60 'TARGET_BITS': 64, | 81 'TARGET_BITS': 64, |
61 }, | 82 }, |
62 'test_generators': [ | 83 'test_generators': [ |
63 steps.generate_gtest, | 84 steps.generate_gtest, |
64 steps.generate_script, | 85 steps.generate_script, |
| 86 steps.generate_isolated_script, |
65 ], | 87 ], |
66 'enable_swarming': True, | 88 'enable_swarming': True, |
67 'testing': { | 89 'testing': { |
68 'platform': 'linux', | 90 'platform': 'linux', |
69 }, | 91 }, |
70 }, | 92 }, |
71 'Linux GN Clobber': { | 93 'Linux GN Clobber': { |
72 'chromium_config': 'chromium', | 94 'chromium_config': 'chromium', |
73 'chromium_apply_config': ['mb'], | 95 'chromium_apply_config': ['mb'], |
74 'gclient_config': 'chromium', | 96 'gclient_config': 'chromium', |
75 'chromium_config_kwargs': { | 97 'chromium_config_kwargs': { |
76 'BUILD_CONFIG': 'Release', | 98 'BUILD_CONFIG': 'Release', |
77 'TARGET_PLATFORM': 'linux', | 99 'TARGET_PLATFORM': 'linux', |
78 'TARGET_BITS': 64, | 100 'TARGET_BITS': 64, |
79 }, | 101 }, |
80 'force_clobber': True, | 102 'force_clobber': True, |
81 'test_generators': [ | 103 'test_generators': [ |
82 steps.generate_gtest, | 104 steps.generate_gtest, |
83 steps.generate_script, | 105 steps.generate_script, |
| 106 steps.generate_isolated_script, |
84 ], | 107 ], |
85 'enable_swarming': True, | 108 'enable_swarming': True, |
86 'testing': { | 109 'testing': { |
87 'platform': 'linux', | 110 'platform': 'linux', |
88 }, | 111 }, |
89 }, | 112 }, |
90 'Linux Builder (dbg)(32)': { | 113 'Linux Builder (dbg)(32)': { |
91 'chromium_config': 'chromium', | 114 'chromium_config': 'chromium', |
92 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 115 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
93 'gclient_config': 'chromium', | 116 'gclient_config': 'chromium', |
(...skipping 21 matching lines...) Expand all Loading... |
115 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 138 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
116 'gclient_config': 'chromium', | 139 'gclient_config': 'chromium', |
117 'chromium_config_kwargs': { | 140 'chromium_config_kwargs': { |
118 'BUILD_CONFIG': 'Debug', | 141 'BUILD_CONFIG': 'Debug', |
119 'TARGET_BITS': 32, | 142 'TARGET_BITS': 32, |
120 }, | 143 }, |
121 'bot_type': 'tester', | 144 'bot_type': 'tester', |
122 'test_generators': [ | 145 'test_generators': [ |
123 steps.generate_gtest, | 146 steps.generate_gtest, |
124 steps.generate_script, | 147 steps.generate_script, |
| 148 steps.generate_isolated_script, |
125 ], | 149 ], |
126 'parent_buildername': 'Linux Builder (dbg)(32)', | 150 'parent_buildername': 'Linux Builder (dbg)(32)', |
127 'testing': { | 151 'testing': { |
128 'platform': 'linux', | 152 'platform': 'linux', |
129 }, | 153 }, |
130 'enable_swarming': True, | 154 'enable_swarming': True, |
131 }, | 155 }, |
132 | 156 |
133 'Linux Builder (dbg)': { | 157 'Linux Builder (dbg)': { |
134 'chromium_config': 'chromium', | 158 'chromium_config': 'chromium', |
(...skipping 15 matching lines...) Expand all Loading... |
150 'chromium_apply_config': ['mb'], | 174 'chromium_apply_config': ['mb'], |
151 'gclient_config': 'chromium', | 175 'gclient_config': 'chromium', |
152 'chromium_config_kwargs': { | 176 'chromium_config_kwargs': { |
153 'BUILD_CONFIG': 'Debug', | 177 'BUILD_CONFIG': 'Debug', |
154 'TARGET_PLATFORM': 'linux', | 178 'TARGET_PLATFORM': 'linux', |
155 'TARGET_BITS': 64, | 179 'TARGET_BITS': 64, |
156 }, | 180 }, |
157 'test_generators': [ | 181 'test_generators': [ |
158 steps.generate_gtest, | 182 steps.generate_gtest, |
159 steps.generate_script, | 183 steps.generate_script, |
| 184 steps.generate_isolated_script, |
160 ], | 185 ], |
161 'enable_swarming': True, | 186 'enable_swarming': True, |
162 'testing': { | 187 'testing': { |
163 'platform': 'linux', | 188 'platform': 'linux', |
164 }, | 189 }, |
165 }, | 190 }, |
166 'Linux Tests (dbg)(1)': { | 191 'Linux Tests (dbg)(1)': { |
167 'chromium_config': 'chromium', | 192 'chromium_config': 'chromium', |
168 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 193 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
169 'gclient_config': 'chromium', | 194 'gclient_config': 'chromium', |
170 'chromium_config_kwargs': { | 195 'chromium_config_kwargs': { |
171 'BUILD_CONFIG': 'Debug', | 196 'BUILD_CONFIG': 'Debug', |
172 'TARGET_BITS': 64, | 197 'TARGET_BITS': 64, |
173 }, | 198 }, |
174 'bot_type': 'tester', | 199 'bot_type': 'tester', |
175 'test_generators': [ | 200 'test_generators': [ |
176 steps.generate_gtest, | 201 steps.generate_gtest, |
177 steps.generate_script, | 202 steps.generate_script, |
| 203 steps.generate_isolated_script, |
178 ], | 204 ], |
179 'parent_buildername': 'Linux Builder (dbg)', | 205 'parent_buildername': 'Linux Builder (dbg)', |
180 'testing': { | 206 'testing': { |
181 'platform': 'linux', | 207 'platform': 'linux', |
182 }, | 208 }, |
183 'enable_swarming': True, | 209 'enable_swarming': True, |
184 }, | 210 }, |
185 | 211 |
186 'Android GN': { | 212 'Android GN': { |
187 'chromium_config': 'android', | 213 'chromium_config': 'android', |
188 'chromium_apply_config': ['mb'], | 214 'chromium_apply_config': ['mb'], |
189 'gclient_config': 'chromium', | 215 'gclient_config': 'chromium', |
190 'gclient_apply_config': ['android'], | 216 'gclient_apply_config': ['android'], |
191 'chromium_config_kwargs': { | 217 'chromium_config_kwargs': { |
192 'BUILD_CONFIG': 'Release', | 218 'BUILD_CONFIG': 'Release', |
193 'TARGET_PLATFORM': 'android', | 219 'TARGET_PLATFORM': 'android', |
194 'TARGET_ARCH': 'arm', | 220 'TARGET_ARCH': 'arm', |
195 }, | 221 }, |
196 'android_config': 'main_builder', | 222 'android_config': 'main_builder', |
197 'test_generators': [ | 223 'test_generators': [ |
198 steps.generate_gtest, | 224 steps.generate_gtest, |
199 steps.generate_script, | 225 steps.generate_script, |
| 226 steps.generate_isolated_script, |
200 ], | 227 ], |
201 'testing': { | 228 'testing': { |
202 'platform': 'linux', | 229 'platform': 'linux', |
203 }, | 230 }, |
204 }, | 231 }, |
205 'Android Arm64 Builder (dbg)': { | 232 'Android Arm64 Builder (dbg)': { |
206 'chromium_config': 'android', | 233 'chromium_config': 'android', |
207 'gclient_config': 'chromium', | 234 'gclient_config': 'chromium', |
208 'gclient_apply_config': ['android'], | 235 'gclient_apply_config': ['android'], |
209 'chromium_config_kwargs': { | 236 'chromium_config_kwargs': { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 'gclient_apply_config': ['android'], | 268 'gclient_apply_config': ['android'], |
242 'chromium_config_kwargs': { | 269 'chromium_config_kwargs': { |
243 'BUILD_CONFIG': 'Debug', | 270 'BUILD_CONFIG': 'Debug', |
244 'TARGET_PLATFORM': 'android', | 271 'TARGET_PLATFORM': 'android', |
245 'TARGET_ARCH': 'arm', | 272 'TARGET_ARCH': 'arm', |
246 }, | 273 }, |
247 'android_config': 'main_builder', | 274 'android_config': 'main_builder', |
248 'test_generators': [ | 275 'test_generators': [ |
249 steps.generate_gtest, | 276 steps.generate_gtest, |
250 steps.generate_script, | 277 steps.generate_script, |
| 278 steps.generate_isolated_script, |
251 ], | 279 ], |
252 'testing': { | 280 'testing': { |
253 'platform': 'linux', | 281 'platform': 'linux', |
254 }, | 282 }, |
255 }, | 283 }, |
256 'Android Tests (dbg)': { | 284 'Android Tests (dbg)': { |
257 'chromium_config': 'android', | 285 'chromium_config': 'android', |
258 'gclient_config': 'chromium', | 286 'gclient_config': 'chromium', |
259 'gclient_apply_config': ['android'], | 287 'gclient_apply_config': ['android'], |
260 'chromium_config_kwargs': { | 288 'chromium_config_kwargs': { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 steps.AndroidJunitTest('base_junit_tests'), | 363 steps.AndroidJunitTest('base_junit_tests'), |
336 steps.AndroidJunitTest('chrome_junit_tests'), | 364 steps.AndroidJunitTest('chrome_junit_tests'), |
337 steps.AndroidJunitTest('components_junit_tests'), | 365 steps.AndroidJunitTest('components_junit_tests'), |
338 steps.AndroidJunitTest('content_junit_tests'), | 366 steps.AndroidJunitTest('content_junit_tests'), |
339 steps.AndroidJunitTest('junit_unit_tests'), | 367 steps.AndroidJunitTest('junit_unit_tests'), |
340 steps.AndroidJunitTest('net_junit_tests'), | 368 steps.AndroidJunitTest('net_junit_tests'), |
341 ], | 369 ], |
342 'test_generators': [ | 370 'test_generators': [ |
343 steps.generate_gtest, | 371 steps.generate_gtest, |
344 steps.generate_script, | 372 steps.generate_script, |
| 373 steps.generate_isolated_script, |
345 ], | 374 ], |
346 'testing': { | 375 'testing': { |
347 'platform': 'linux', | 376 'platform': 'linux', |
348 }, | 377 }, |
349 }, | 378 }, |
350 | 379 |
351 'Android Builder': { | 380 'Android Builder': { |
352 'chromium_config': 'android', | 381 'chromium_config': 'android', |
353 'gclient_config': 'chromium', | 382 'gclient_config': 'chromium', |
354 'gclient_apply_config': ['android'], | 383 'gclient_apply_config': ['android'], |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 steps.AndroidJunitTest('base_junit_tests'), | 474 steps.AndroidJunitTest('base_junit_tests'), |
446 steps.AndroidJunitTest('chrome_junit_tests'), | 475 steps.AndroidJunitTest('chrome_junit_tests'), |
447 steps.AndroidJunitTest('components_junit_tests'), | 476 steps.AndroidJunitTest('components_junit_tests'), |
448 steps.AndroidJunitTest('content_junit_tests'), | 477 steps.AndroidJunitTest('content_junit_tests'), |
449 steps.AndroidJunitTest('junit_unit_tests'), | 478 steps.AndroidJunitTest('junit_unit_tests'), |
450 steps.AndroidJunitTest('net_junit_tests'), | 479 steps.AndroidJunitTest('net_junit_tests'), |
451 ], | 480 ], |
452 'test_generators': [ | 481 'test_generators': [ |
453 steps.generate_gtest, | 482 steps.generate_gtest, |
454 steps.generate_script, | 483 steps.generate_script, |
| 484 steps.generate_isolated_script, |
455 ], | 485 ], |
456 'testing': { | 486 'testing': { |
457 'platform': 'linux', | 487 'platform': 'linux', |
458 }, | 488 }, |
459 }, | 489 }, |
460 | 490 |
461 'Android Clang Builder (dbg)': { | 491 'Android Clang Builder (dbg)': { |
462 'chromium_config': 'android_clang', | 492 'chromium_config': 'android_clang', |
463 'gclient_config': 'chromium', | 493 'gclient_config': 'chromium', |
464 'gclient_apply_config': ['android'], | 494 'gclient_apply_config': ['android'], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 'chromium_config_kwargs': { | 530 'chromium_config_kwargs': { |
501 'BUILD_CONFIG': 'Release', | 531 'BUILD_CONFIG': 'Release', |
502 'TARGET_BITS': 64, | 532 'TARGET_BITS': 64, |
503 }, | 533 }, |
504 'compile_targets': [ | 534 'compile_targets': [ |
505 'cast_shell', | 535 'cast_shell', |
506 ], | 536 ], |
507 'test_generators': [ | 537 'test_generators': [ |
508 steps.generate_gtest, | 538 steps.generate_gtest, |
509 steps.generate_script, | 539 steps.generate_script, |
| 540 steps.generate_isolated_script, |
510 ], | 541 ], |
511 'testing': { | 542 'testing': { |
512 'platform': 'linux', | 543 'platform': 'linux', |
513 }, | 544 }, |
514 }, | 545 }, |
515 'Cast Android (dbg)': { | 546 'Cast Android (dbg)': { |
516 'chromium_config': 'android', | 547 'chromium_config': 'android', |
517 'gclient_config': 'chromium', | 548 'gclient_config': 'chromium', |
518 'gclient_apply_config': ['android'], | 549 'gclient_apply_config': ['android'], |
519 'compile_targets': [ | 550 'compile_targets': [ |
520 'cast_shell_apk', | 551 'cast_shell_apk', |
521 ], | 552 ], |
522 'chromium_config_kwargs': { | 553 'chromium_config_kwargs': { |
523 'BUILD_CONFIG': 'Debug', | 554 'BUILD_CONFIG': 'Debug', |
524 'TARGET_BITS': 32, | 555 'TARGET_BITS': 32, |
525 'TARGET_PLATFORM': 'android', | 556 'TARGET_PLATFORM': 'android', |
526 }, | 557 }, |
527 'android_config': 'cast_builder', | 558 'android_config': 'cast_builder', |
528 'testing': { | 559 'testing': { |
529 'platform': 'linux', | 560 'platform': 'linux', |
530 }, | 561 }, |
531 }, | 562 }, |
532 }, | 563 }, |
533 } | 564 } |
OLD | NEW |