OLD | NEW |
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 'Mac 10.10 Retina Debug (AMD)': { | 328 'Mac 10.10 Retina Debug (AMD)': { |
329 'swarming_dimensions': { | 329 'swarming_dimensions': { |
330 'gpu': '1002:6821', | 330 'gpu': '1002:6821', |
331 'hidpi': '1', | 331 'hidpi': '1', |
332 'os': 'Mac-10.10' | 332 'os': 'Mac-10.10' |
333 }, | 333 }, |
334 'build_config': 'Debug', | 334 'build_config': 'Debug', |
335 'swarming': True, | 335 'swarming': True, |
336 'os_type': 'mac', | 336 'os_type': 'mac', |
337 }, | 337 }, |
| 338 'Mac Retina Release (AMD)': { |
| 339 'swarming_dimensions': { |
| 340 'gpu': '1002:6821', |
| 341 'hidpi': '1', |
| 342 'os': 'Mac-10.11' |
| 343 }, |
| 344 'build_config': 'Release', |
| 345 # This bot is a one-off for testing purposes. |
| 346 'swarming': False, |
| 347 'os_type': 'mac', |
| 348 }, |
338 'Linux Release (NVIDIA)': { | 349 'Linux Release (NVIDIA)': { |
339 'swarming_dimensions': { | 350 'swarming_dimensions': { |
340 'gpu': '10de:104a', | 351 'gpu': '10de:104a', |
341 'os': 'Linux' | 352 'os': 'Linux' |
342 }, | 353 }, |
343 'build_config': 'Release', | 354 'build_config': 'Release', |
344 'swarming': True, | 355 'swarming': True, |
345 'os_type': 'linux', | 356 'os_type': 'linux', |
346 }, | 357 }, |
347 'Linux Release (Intel Graphics Stack)': { | 358 'Linux Release (Intel Graphics Stack)': { |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1273 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1263 fp.write('\n') | 1274 fp.write('\n') |
1264 | 1275 |
1265 def main(): | 1276 def main(): |
1266 generate_all_tests(FYI_WATERFALL, True) | 1277 generate_all_tests(FYI_WATERFALL, True) |
1267 generate_all_tests(WATERFALL, False) | 1278 generate_all_tests(WATERFALL, False) |
1268 return 0 | 1279 return 0 |
1269 | 1280 |
1270 if __name__ == "__main__": | 1281 if __name__ == "__main__": |
1271 sys.exit(main()) | 1282 sys.exit(main()) |
OLD | NEW |