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

Side by Side Diff: content/test/gpu/generate_buildbot_json.py

Issue 2594533002: Target "Windows-10" instead of the specific build number. (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in
7 the src/testing/buildbot directory. Maintaining these files by hand is 7 the src/testing/buildbot directory. Maintaining these files by hand is
8 too unwieldy. 8 too unwieldy.
9 """ 9 """
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 'swarming_dimensions': [ 153 'swarming_dimensions': [
154 { 154 {
155 'gpu': '10de:104a', 155 'gpu': '10de:104a',
156 'os': 'Windows-2008ServerR2-SP1' 156 'os': 'Windows-2008ServerR2-SP1'
157 }, 157 },
158 ], 158 ],
159 'build_config': 'Debug', 159 'build_config': 'Debug',
160 'swarming': True, 160 'swarming': True,
161 'os_type': 'win', 161 'os_type': 'win',
162 }, 162 },
163 'Win8 Release (NVIDIA)': {
164 'swarming_dimensions': [
165 {
166 'gpu': '10de:104a',
167 'os': 'Windows-10-10586'
168 },
169 ],
170 'build_config': 'Release',
171 'swarming': True,
172 'os_type': 'win',
173 },
174 'Win8 Debug (NVIDIA)': {
175 'swarming_dimensions': [
176 {
177 'gpu': '10de:104a',
178 'os': 'Windows-10-10586'
179 },
180 ],
181 'build_config': 'Debug',
182 'swarming': True,
183 'os_type': 'win',
184 },
185 'Win10 Release (NVIDIA)': { 163 'Win10 Release (NVIDIA)': {
186 'swarming_dimensions': [ 164 'swarming_dimensions': [
187 { 165 {
188 'gpu': '10de:104a', 166 'gpu': '10de:104a',
189 'os': 'Windows-10-10586' 167 'os': 'Windows-10'
190 }, 168 },
191 ], 169 ],
192 'build_config': 'Release', 170 'build_config': 'Release',
193 'swarming': True, 171 'swarming': True,
194 'os_type': 'win', 172 'os_type': 'win',
195 }, 173 },
196 'Win10 Debug (NVIDIA)': { 174 'Win10 Debug (NVIDIA)': {
197 'swarming_dimensions': [ 175 'swarming_dimensions': [
198 { 176 {
199 'gpu': '10de:104a', 177 'gpu': '10de:104a',
200 'os': 'Windows-10-10586' 178 'os': 'Windows-10'
201 }, 179 },
202 ], 180 ],
203 'build_config': 'Debug', 181 'build_config': 'Debug',
204 'swarming': True, 182 'swarming': True,
205 'os_type': 'win', 183 'os_type': 'win',
206 }, 184 },
207 'Win7 Release (AMD)': { 185 'Win7 Release (AMD)': {
208 'swarming_dimensions': [ 186 'swarming_dimensions': [
209 { 187 {
210 'gpu': '1002:6613', 188 'gpu': '1002:6613',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 'build_config': 'Release', 240 'build_config': 'Release',
263 # This bot is a one-off and doesn't have similar slaves in the 241 # This bot is a one-off and doesn't have similar slaves in the
264 # swarming pool. 242 # swarming pool.
265 'swarming': False, 243 'swarming': False,
266 'os_type': 'win', 244 'os_type': 'win',
267 }, 245 },
268 'Win10 Release (New Intel)': { 246 'Win10 Release (New Intel)': {
269 'swarming_dimensions': [ 247 'swarming_dimensions': [
270 { 248 {
271 'gpu': '8086:0412', 249 'gpu': '8086:0412',
272 'os': 'Windows-10-10586', 250 'os': 'Windows-10',
273 }, 251 },
274 ], 252 ],
275 'build_config': 'Release', 253 'build_config': 'Release',
276 # This bot is a one-off and doesn't have similar slaves in the 254 # This bot is a one-off and doesn't have similar slaves in the
277 # swarming pool. 255 # swarming pool.
278 'swarming': False, 256 'swarming': False,
279 'os_type': 'win', 257 'os_type': 'win',
280 }, 258 },
281 'Win7 Debug (New Intel)': { 259 'Win7 Debug (New Intel)': {
282 'swarming_dimensions': [ 260 'swarming_dimensions': [
283 { 261 {
284 'gpu': '8086:0412', 262 'gpu': '8086:0412',
285 'os': 'Windows-2008ServerR2-SP1' 263 'os': 'Windows-2008ServerR2-SP1'
286 }, 264 },
287 ], 265 ],
288 'build_config': 'Debug', 266 'build_config': 'Debug',
289 # This bot is a one-off and doesn't have similar slaves in the 267 # This bot is a one-off and doesn't have similar slaves in the
290 # swarming pool. 268 # swarming pool.
291 'swarming': False, 269 'swarming': False,
292 'os_type': 'win', 270 'os_type': 'win',
293 }, 271 },
294 'Win10 Debug (New Intel)': { 272 'Win10 Debug (New Intel)': {
295 'swarming_dimensions': [ 273 'swarming_dimensions': [
296 { 274 {
297 'gpu': '8086:0412', 275 'gpu': '8086:0412',
298 'os': 'Windows-10-10586', 276 'os': 'Windows-10',
299 }, 277 },
300 ], 278 ],
301 'build_config': 'Debug', 279 'build_config': 'Debug',
302 # This bot is a one-off and doesn't have similar slaves in the 280 # This bot is a one-off and doesn't have similar slaves in the
303 # swarming pool. 281 # swarming pool.
304 'swarming': False, 282 'swarming': False,
305 'os_type': 'win', 283 'os_type': 'win',
306 }, 284 },
307 'Win7 Release (AMD R5 230)': { 285 'Win7 Release (AMD R5 230)': {
308 'swarming_dimensions': [ 286 'swarming_dimensions': [
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1637 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1660 fp.write('\n') 1638 fp.write('\n')
1661 1639
1662 def main(): 1640 def main():
1663 generate_all_tests(FYI_WATERFALL, True) 1641 generate_all_tests(FYI_WATERFALL, True)
1664 generate_all_tests(WATERFALL, False) 1642 generate_all_tests(WATERFALL, False)
1665 return 0 1643 return 0
1666 1644
1667 if __name__ == "__main__": 1645 if __name__ == "__main__":
1668 sys.exit(main()) 1646 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698