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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_chromiumos.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-chromiumos-archive', 9 'build_gs_bucket': 'chromium-chromiumos-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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }, 88 },
89 'Linux ChromiumOS Tests (1)': { 89 'Linux ChromiumOS Tests (1)': {
90 'chromium_config': 'chromium', 90 'chromium_config': 'chromium',
91 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'], 91 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'],
92 'gclient_config': 'chromium', 92 'gclient_config': 'chromium',
93 'chromium_config_kwargs': { 93 'chromium_config_kwargs': {
94 'BUILD_CONFIG': 'Release', 94 'BUILD_CONFIG': 'Release',
95 'TARGET_BITS': 64, 95 'TARGET_BITS': 64,
96 }, 96 },
97 'bot_type': 'tester', 97 'bot_type': 'tester',
98 'test_generators': [
99 steps.generate_gtest,
ghost stip (do not use) 2016/09/22 23:25:48 dnj: fyi, this shouldn't affect anything
100 steps.generate_script,
101 steps.generate_isolated_script,
102 ],
103 'parent_buildername': 'Linux ChromiumOS Builder', 98 'parent_buildername': 'Linux ChromiumOS Builder',
104 'testing': { 99 'testing': {
105 'platform': 'linux', 100 'platform': 'linux',
106 }, 101 },
107 'enable_swarming': True, 102 'enable_swarming': True,
108 }, 103 },
109 'Linux ChromiumOS GN': { 104 'Linux ChromiumOS GN': {
110 'chromium_config': 'chromium', 105 'chromium_config': 'chromium',
111 'chromium_apply_config': ['mb'], 106 'chromium_apply_config': ['mb'],
112 'gclient_config': 'chromium', 107 'gclient_config': 'chromium',
113 'chromium_config_kwargs': { 108 'chromium_config_kwargs': {
114 'BUILD_CONFIG': 'Release', 109 'BUILD_CONFIG': 'Release',
115 'TARGET_PLATFORM': 'chromeos', 110 'TARGET_PLATFORM': 'chromeos',
116 }, 111 },
117 'test_generators': [
118 steps.generate_gtest,
119 steps.generate_script,
120 steps.generate_isolated_script,
121 ],
122 'enable_swarming': True, 112 'enable_swarming': True,
123 'checkout_dir': 'linux_chromium_gn_chromeos', 113 'checkout_dir': 'linux_chromium_gn_chromeos',
124 'testing': { 114 'testing': {
125 'platform': 'linux', 115 'platform': 'linux',
126 }, 116 },
127 }, 117 },
128 118
129 'Linux ChromiumOS Ozone Builder': { 119 'Linux ChromiumOS Ozone Builder': {
130 'chromium_config': 'chromium', 120 'chromium_config': 'chromium',
131 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop', 'ozone'] , 121 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop', 'ozone'] ,
(...skipping 15 matching lines...) Expand all
147 }, 137 },
148 'Linux ChromiumOS Ozone Tests (1)': { 138 'Linux ChromiumOS Ozone Tests (1)': {
149 'chromium_config': 'chromium', 139 'chromium_config': 'chromium',
150 'chromium_apply_config': ['chromeos', 'ozone', 'ninja_confirm_noop'], 140 'chromium_apply_config': ['chromeos', 'ozone', 'ninja_confirm_noop'],
151 'gclient_config': 'chromium', 141 'gclient_config': 'chromium',
152 'chromium_config_kwargs': { 142 'chromium_config_kwargs': {
153 'BUILD_CONFIG': 'Release', 143 'BUILD_CONFIG': 'Release',
154 'TARGET_BITS': 64, 144 'TARGET_BITS': 64,
155 }, 145 },
156 'bot_type': 'tester', 146 'bot_type': 'tester',
157 'test_generators': [
158 steps.generate_gtest,
159 steps.generate_script,
160 steps.generate_isolated_script,
161 ],
162 'parent_buildername': 'Linux ChromiumOS Ozone Builder', 147 'parent_buildername': 'Linux ChromiumOS Ozone Builder',
163 'testing': { 148 'testing': {
164 'platform': 'linux', 149 'platform': 'linux',
165 }, 150 },
166 'enable_swarming': True, 151 'enable_swarming': True,
167 'use_isolate': True, 152 'use_isolate': True,
168 }, 153 },
169 'Linux ChromiumOS Builder (dbg)': { 154 'Linux ChromiumOS Builder (dbg)': {
170 'chromium_config': 'chromium', 155 'chromium_config': 'chromium',
171 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'], 156 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'],
(...skipping 15 matching lines...) Expand all
187 }, 172 },
188 'Linux ChromiumOS Tests (dbg)(1)': { 173 'Linux ChromiumOS Tests (dbg)(1)': {
189 'chromium_config': 'chromium', 174 'chromium_config': 'chromium',
190 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'], 175 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'],
191 'gclient_config': 'chromium', 176 'gclient_config': 'chromium',
192 'chromium_config_kwargs': { 177 'chromium_config_kwargs': {
193 'BUILD_CONFIG': 'Debug', 178 'BUILD_CONFIG': 'Debug',
194 'TARGET_BITS': 64, 179 'TARGET_BITS': 64,
195 }, 180 },
196 'bot_type': 'tester', 181 'bot_type': 'tester',
197 'test_generators': [
198 steps.generate_gtest,
199 steps.generate_script,
200 steps.generate_isolated_script,
201 ],
202 'parent_buildername': 'Linux ChromiumOS Builder (dbg)', 182 'parent_buildername': 'Linux ChromiumOS Builder (dbg)',
203 'testing': { 183 'testing': {
204 'platform': 'linux', 184 'platform': 'linux',
205 }, 185 },
206 'enable_swarming': True, 186 'enable_swarming': True,
207 }, 187 },
208 'Linux ChromiumOS GN (dbg)': { 188 'Linux ChromiumOS GN (dbg)': {
209 'chromium_config': 'chromium', 189 'chromium_config': 'chromium',
210 'chromium_apply_config': ['mb'], 190 'chromium_apply_config': ['mb'],
211 'gclient_config': 'chromium', 191 'gclient_config': 'chromium',
212 'chromium_config_kwargs': { 192 'chromium_config_kwargs': {
213 'BUILD_CONFIG': 'Debug', 193 'BUILD_CONFIG': 'Debug',
214 'TARGET_PLATFORM': 'chromeos', 194 'TARGET_PLATFORM': 'chromeos',
215 }, 195 },
216 'test_generators': [
217 steps.generate_gtest,
218 steps.generate_script,
219 steps.generate_isolated_script,
220 ],
221 'enable_swarming': True, 196 'enable_swarming': True,
222 'checkout_dir': 'linux_chromium_gn_chromeos', 197 'checkout_dir': 'linux_chromium_gn_chromeos',
223 'testing': { 198 'testing': {
224 'platform': 'linux', 199 'platform': 'linux',
225 }, 200 },
226 }, 201 },
227 }, 202 },
228 } 203 }
229 204
230 # Simple Chrome compile-only builders. 205 # Simple Chrome compile-only builders.
231 for board in ('x86-generic', 'amd64-generic', 'daisy'): 206 for board in ('x86-generic', 'amd64-generic', 'daisy'):
232 SPEC['builders']['ChromiumOS %s Compile' % (board,)] = { 207 SPEC['builders']['ChromiumOS %s Compile' % (board,)] = {
233 'chromium_config': 'chromium', 208 'chromium_config': 'chromium',
234 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'], 209 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'],
235 'gclient_config': 'chromium', 210 'gclient_config': 'chromium',
236 'chromium_config_kwargs': { 211 'chromium_config_kwargs': {
237 'BUILD_CONFIG': 'Release', 212 'BUILD_CONFIG': 'Release',
238 'TARGET_PLATFORM': 'chromeos', 213 'TARGET_PLATFORM': 'chromeos',
239 'TARGET_CROS_BOARD': board, 214 'TARGET_CROS_BOARD': board,
240 }, 215 },
241 'bot_type': 'builder', 216 'bot_type': 'builder',
242 'compile_targets': [ 217 'compile_targets': [
243 'chromiumos_preflight', 218 'chromiumos_preflight',
244 ], 219 ],
245 'testing': { 220 'testing': {
246 'platform': 'linux', 221 'platform': 'linux',
247 }, 222 },
248 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698