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