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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_linux.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 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 28 matching lines...) Expand all
39 }, 39 },
40 'Linux Tests': { 40 'Linux Tests': {
41 'chromium_config': 'chromium', 41 'chromium_config': 'chromium',
42 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 42 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
43 'gclient_config': 'chromium', 43 'gclient_config': 'chromium',
44 'chromium_config_kwargs': { 44 'chromium_config_kwargs': {
45 'BUILD_CONFIG': 'Release', 45 'BUILD_CONFIG': 'Release',
46 'TARGET_BITS': 64, 46 'TARGET_BITS': 64,
47 }, 47 },
48 'bot_type': 'tester', 48 'bot_type': 'tester',
49 'test_generators': [
50 steps.generate_gtest,
51 steps.generate_script,
52 steps.generate_isolated_script,
53 ],
54 'parent_buildername': 'Linux Builder', 49 'parent_buildername': 'Linux Builder',
55 'testing': { 50 'testing': {
56 'platform': 'linux', 51 'platform': 'linux',
57 }, 52 },
58 'enable_swarming': True, 53 'enable_swarming': True,
59 }, 54 },
60 'Linux Builder (dbg)(32)': { 55 'Linux Builder (dbg)(32)': {
61 'chromium_config': 'chromium', 56 'chromium_config': 'chromium',
62 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 57 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
63 'gclient_config': 'chromium', 58 'gclient_config': 'chromium',
(...skipping 19 matching lines...) Expand all
83 }, 78 },
84 'Linux Tests (dbg)(1)(32)': { 79 'Linux Tests (dbg)(1)(32)': {
85 'chromium_config': 'chromium', 80 'chromium_config': 'chromium',
86 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 81 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
87 'gclient_config': 'chromium', 82 'gclient_config': 'chromium',
88 'chromium_config_kwargs': { 83 'chromium_config_kwargs': {
89 'BUILD_CONFIG': 'Debug', 84 'BUILD_CONFIG': 'Debug',
90 'TARGET_BITS': 32, 85 'TARGET_BITS': 32,
91 }, 86 },
92 'bot_type': 'tester', 87 'bot_type': 'tester',
93 'test_generators': [
94 steps.generate_gtest,
95 steps.generate_script,
96 steps.generate_isolated_script,
97 ],
98 'parent_buildername': 'Linux Builder (dbg)(32)', 88 'parent_buildername': 'Linux Builder (dbg)(32)',
99 'testing': { 89 'testing': {
100 'platform': 'linux', 90 'platform': 'linux',
101 }, 91 },
102 'enable_swarming': True, 92 'enable_swarming': True,
103 }, 93 },
104 94
105 'Linux Builder (dbg)': { 95 'Linux Builder (dbg)': {
106 'chromium_config': 'chromium', 96 'chromium_config': 'chromium',
107 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 97 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
(...skipping 12 matching lines...) Expand all
120 }, 110 },
121 'Linux Tests (dbg)(1)': { 111 'Linux Tests (dbg)(1)': {
122 'chromium_config': 'chromium', 112 'chromium_config': 'chromium',
123 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 113 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
124 'gclient_config': 'chromium', 114 'gclient_config': 'chromium',
125 'chromium_config_kwargs': { 115 'chromium_config_kwargs': {
126 'BUILD_CONFIG': 'Debug', 116 'BUILD_CONFIG': 'Debug',
127 'TARGET_BITS': 64, 117 'TARGET_BITS': 64,
128 }, 118 },
129 'bot_type': 'tester', 119 'bot_type': 'tester',
130 'test_generators': [
131 steps.generate_gtest,
132 steps.generate_script,
133 steps.generate_isolated_script,
134 ],
135 'parent_buildername': 'Linux Builder (dbg)', 120 'parent_buildername': 'Linux Builder (dbg)',
136 'testing': { 121 'testing': {
137 'platform': 'linux', 122 'platform': 'linux',
138 }, 123 },
139 'enable_swarming': True, 124 'enable_swarming': True,
140 }, 125 },
141 126
142 'Android Arm64 Builder (dbg)': { 127 'Android Arm64 Builder (dbg)': {
143 'chromium_config': 'android', 128 'chromium_config': 'android',
144 'chromium_apply_config': ['chrome_with_codecs', 'mb'], 129 'chromium_apply_config': ['chrome_with_codecs', 'mb'],
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 'chromium_config_kwargs': { 166 'chromium_config_kwargs': {
182 'BUILD_CONFIG': 'Debug', 167 'BUILD_CONFIG': 'Debug',
183 'TARGET_BITS': 32, 168 'TARGET_BITS': 32,
184 'TARGET_PLATFORM': 'android', 169 'TARGET_PLATFORM': 'android',
185 }, 170 },
186 'bot_type': 'tester', 171 'bot_type': 'tester',
187 'parent_buildername': 'Android Builder (dbg)', 172 'parent_buildername': 'Android Builder (dbg)',
188 'android_config': 'main_builder', 173 'android_config': 'main_builder',
189 'root_devices': True, 174 'root_devices': True,
190 'tests': [], 175 'tests': [],
191 'test_generators': [
192 steps.generate_gtest,
193 steps.generate_instrumentation_test,
194 steps.generate_isolated_script,
195 steps.generate_junit_test,
196 steps.generate_script,
197 ],
198 'testing': { 176 'testing': {
199 'platform': 'linux', 177 'platform': 'linux',
200 }, 178 },
201 'enable_swarming': True, 179 'enable_swarming': True,
202 }, 180 },
203 181
204 'Android Builder': { 182 'Android Builder': {
205 'chromium_config': 'android', 183 'chromium_config': 'android',
206 'chromium_apply_config': ['chrome_with_codecs', 'mb'], 184 'chromium_apply_config': ['chrome_with_codecs', 'mb'],
207 'gclient_config': 'chromium', 185 'gclient_config': 'chromium',
(...skipping 19 matching lines...) Expand all
227 'gclient_apply_config': ['android'], 205 'gclient_apply_config': ['android'],
228 'chromium_config_kwargs': { 206 'chromium_config_kwargs': {
229 'BUILD_CONFIG': 'Release', 207 'BUILD_CONFIG': 'Release',
230 'TARGET_BITS': 32, 208 'TARGET_BITS': 32,
231 'TARGET_PLATFORM': 'android', 209 'TARGET_PLATFORM': 'android',
232 }, 210 },
233 'bot_type': 'tester', 211 'bot_type': 'tester',
234 'parent_buildername': 'Android Builder', 212 'parent_buildername': 'Android Builder',
235 'android_config': 'main_builder', 213 'android_config': 'main_builder',
236 'root_devices': True, 214 'root_devices': True,
237 'tests': [],
238 'test_generators': [
239 steps.generate_gtest,
240 steps.generate_instrumentation_test,
241 steps.generate_isolated_script,
242 steps.generate_junit_test,
243 steps.generate_script,
244 ],
245 'testing': { 215 'testing': {
246 'platform': 'linux', 216 'platform': 'linux',
247 }, 217 },
248 'enable_swarming': True, 218 'enable_swarming': True,
249 }, 219 },
250 220
251 'Android Clang Builder (dbg)': { 221 'Android Clang Builder (dbg)': {
252 'chromium_config': 'android_clang', 222 'chromium_config': 'android_clang',
253 'chromium_apply_config': ['chrome_with_codecs', 'errorprone'], 223 'chromium_apply_config': ['chrome_with_codecs', 'errorprone'],
254 'gclient_config': 'chromium', 224 'gclient_config': 'chromium',
(...skipping 13 matching lines...) Expand all
268 'Blimp Linux (dbg)': { 238 'Blimp Linux (dbg)': {
269 'chromium_config': 'chromium', 239 'chromium_config': 'chromium',
270 'chromium_apply_config': ['mb'], 240 'chromium_apply_config': ['mb'],
271 'gclient_config': 'chromium', 241 'gclient_config': 'chromium',
272 'chromium_config_kwargs': { 242 'chromium_config_kwargs': {
273 'BUILD_CONFIG': 'Debug', 243 'BUILD_CONFIG': 'Debug',
274 'TARGET_BITS': 64, 244 'TARGET_BITS': 64,
275 'TARGET_PLATFORM': 'linux', 245 'TARGET_PLATFORM': 'linux',
276 }, 246 },
277 'bot_type': 'builder_tester', 247 'bot_type': 'builder_tester',
278 'test_generators': [
279 steps.generate_gtest,
280 ],
281 'testing': { 248 'testing': {
282 'platform': 'linux', 249 'platform': 'linux',
283 }, 250 },
284 }, 251 },
285 252
286 'Cast Linux': { 253 'Cast Linux': {
287 'chromium_config': 'cast_linux', 254 'chromium_config': 'cast_linux',
288 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 255 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
289 'gclient_config': 'chromium', 256 'gclient_config': 'chromium',
290 'chromium_config_kwargs': { 257 'chromium_config_kwargs': {
291 'BUILD_CONFIG': 'Release', 258 'BUILD_CONFIG': 'Release',
292 'TARGET_BITS': 64, 259 'TARGET_BITS': 64,
293 }, 260 },
294 'compile_targets': [ 261 'compile_targets': [
295 'cast_shell', 262 'cast_shell',
296 ], 263 ],
297 'test_generators': [
298 steps.generate_gtest,
299 steps.generate_script,
300 steps.generate_isolated_script,
301 ],
302 'testing': { 264 'testing': {
303 'platform': 'linux', 265 'platform': 'linux',
304 }, 266 },
305 }, 267 },
306 'Cast Android (dbg)': { 268 'Cast Android (dbg)': {
307 'chromium_config': 'android', 269 'chromium_config': 'android',
308 'chromium_apply_config': ['chrome_with_codecs', 'mb'], 270 'chromium_apply_config': ['chrome_with_codecs', 'mb'],
309 'gclient_config': 'chromium', 271 'gclient_config': 'chromium',
310 'gclient_apply_config': ['android'], 272 'gclient_apply_config': ['android'],
311 'compile_targets': [ 273 'compile_targets': [
312 'cast_shell_apk', 274 'cast_shell_apk',
313 ], 275 ],
314 'chromium_config_kwargs': { 276 'chromium_config_kwargs': {
315 'BUILD_CONFIG': 'Debug', 277 'BUILD_CONFIG': 'Debug',
316 'TARGET_BITS': 32, 278 'TARGET_BITS': 32,
317 'TARGET_PLATFORM': 'android', 279 'TARGET_PLATFORM': 'android',
318 }, 280 },
319 'android_config': 'cast_builder', 281 'android_config': 'cast_builder',
320 'testing': { 282 'testing': {
321 'platform': 'linux', 283 'platform': 'linux',
322 }, 284 },
323 }, 285 },
324 }, 286 },
325 } 287 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698