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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 }, | 47 }, |
48 ], | 48 ], |
49 'build_config': 'Debug', | 49 'build_config': 'Debug', |
50 'swarming': True, | 50 'swarming': True, |
51 'os_type': 'win', | 51 'os_type': 'win', |
52 }, | 52 }, |
53 'Mac 10.10 Release (Intel)': { | 53 'Mac 10.10 Release (Intel)': { |
54 'swarming_dimensions': [ | 54 'swarming_dimensions': [ |
55 { | 55 { |
56 'gpu': '8086:0a2e', | 56 'gpu': '8086:0a2e', |
57 'os': 'Mac-10.10' | 57 'os': 'Mac-10.12' |
58 }, | 58 }, |
59 ], | 59 ], |
60 'build_config': 'Release', | 60 'build_config': 'Release', |
61 'swarming': True, | 61 'swarming': True, |
62 'os_type': 'mac', | 62 'os_type': 'mac', |
63 }, | 63 }, |
64 'Mac 10.10 Debug (Intel)': { | 64 'Mac 10.10 Debug (Intel)': { |
65 'swarming_dimensions': [ | 65 'swarming_dimensions': [ |
66 { | 66 { |
67 'gpu': '8086:0a2e', | 67 'gpu': '8086:0a2e', |
68 'os': 'Mac-10.10' | 68 'os': 'Mac-10.12' |
69 }, | 69 }, |
70 ], | 70 ], |
71 'build_config': 'Debug', | 71 'build_config': 'Debug', |
72 'swarming': True, | 72 'swarming': True, |
73 'os_type': 'mac', | 73 'os_type': 'mac', |
74 }, | 74 }, |
75 'Mac 10.10 Retina Release (AMD)': { | 75 'Mac 10.10 Retina Release (AMD)': { |
76 'swarming_dimensions': [ | 76 'swarming_dimensions': [ |
77 { | 77 { |
78 'gpu': '1002:6821', | 78 'gpu': '1002:6821', |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 }, | 316 }, |
317 ], | 317 ], |
318 'build_config': 'Debug_x64', | 318 'build_config': 'Debug_x64', |
319 'swarming': True, | 319 'swarming': True, |
320 'os_type': 'win', | 320 'os_type': 'win', |
321 }, | 321 }, |
322 'Mac 10.10 Release (Intel)': { | 322 'Mac 10.10 Release (Intel)': { |
323 'swarming_dimensions': [ | 323 'swarming_dimensions': [ |
324 { | 324 { |
325 'gpu': '8086:0a2e', | 325 'gpu': '8086:0a2e', |
326 'os': 'Mac-10.10' | 326 'os': 'Mac-10.12' |
327 }, | 327 }, |
328 ], | 328 ], |
329 'build_config': 'Release', | 329 'build_config': 'Release', |
330 'swarming': True, | 330 'swarming': True, |
331 'os_type': 'mac', | 331 'os_type': 'mac', |
332 }, | 332 }, |
333 'Mac 10.10 Debug (Intel)': { | 333 'Mac 10.10 Debug (Intel)': { |
334 'swarming_dimensions': [ | 334 'swarming_dimensions': [ |
335 { | 335 { |
336 'gpu': '8086:0a2e', | 336 'gpu': '8086:0a2e', |
337 'os': 'Mac-10.10' | 337 'os': 'Mac-10.12' |
338 }, | 338 }, |
339 ], | 339 ], |
340 'build_config': 'Debug', | 340 'build_config': 'Debug', |
341 'swarming': True, | 341 'swarming': True, |
342 'os_type': 'mac', | 342 'os_type': 'mac', |
343 }, | 343 }, |
344 'Mac 10.10 Release (AMD)': { | 344 'Mac 10.10 Release (AMD)': { |
345 'swarming_dimensions': [ | 345 'swarming_dimensions': [ |
346 { | 346 { |
347 'gpu': '1002:679e', | 347 'gpu': '1002:679e', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 'build_config': 'Release', | 426 'build_config': 'Release', |
427 # This bot is a one-off for testing purposes. | 427 # This bot is a one-off for testing purposes. |
428 'swarming': False, | 428 'swarming': False, |
429 'os_type': 'mac', | 429 'os_type': 'mac', |
430 }, | 430 }, |
431 'Mac GPU ASAN Release': { | 431 'Mac GPU ASAN Release': { |
432 # This bot spawns jobs on multiple GPU types. | 432 # This bot spawns jobs on multiple GPU types. |
433 'swarming_dimensions': [ | 433 'swarming_dimensions': [ |
434 { | 434 { |
435 'gpu': '8086:0a2e', | 435 'gpu': '8086:0a2e', |
436 'os': 'Mac-10.10' | 436 'os': 'Mac-10.12' |
437 }, | 437 }, |
438 { | 438 { |
439 'gpu': '1002:6821', | 439 'gpu': '1002:6821', |
440 'hidpi': '1', | 440 'hidpi': '1', |
441 'os': 'Mac' | 441 'os': 'Mac' |
442 }, | 442 }, |
443 ], | 443 ], |
444 'build_config': 'Release', | 444 'build_config': 'Release', |
445 'swarming': True, | 445 'swarming': True, |
446 'os_type': 'mac', | 446 'os_type': 'mac', |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 }, | 683 }, |
684 ], | 684 ], |
685 'build_config': 'Release', | 685 'build_config': 'Release', |
686 'swarming': True, | 686 'swarming': True, |
687 'os_type': 'win', | 687 'os_type': 'win', |
688 }, | 688 }, |
689 'Optional Mac 10.10 Release (Intel)': { | 689 'Optional Mac 10.10 Release (Intel)': { |
690 'swarming_dimensions': [ | 690 'swarming_dimensions': [ |
691 { | 691 { |
692 'gpu': '8086:0a2e', | 692 'gpu': '8086:0a2e', |
693 'os': 'Mac-10.10' | 693 'os': 'Mac-10.12' |
694 }, | 694 }, |
695 ], | 695 ], |
696 'build_config': 'Release', | 696 'build_config': 'Release', |
697 'swarming': True, | 697 'swarming': True, |
698 'os_type': 'mac', | 698 'os_type': 'mac', |
699 }, | 699 }, |
700 'Optional Mac Retina Release': { | 700 'Optional Mac Retina Release': { |
701 'swarming_dimensions': [ | 701 'swarming_dimensions': [ |
702 { | 702 { |
703 'gpu': '10de:0fe9', | 703 'gpu': '10de:0fe9', |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1706 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1706 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1707 fp.write('\n') | 1707 fp.write('\n') |
1708 | 1708 |
1709 def main(): | 1709 def main(): |
1710 generate_all_tests(FYI_WATERFALL, True) | 1710 generate_all_tests(FYI_WATERFALL, True) |
1711 generate_all_tests(WATERFALL, False) | 1711 generate_all_tests(WATERFALL, False) |
1712 return 0 | 1712 return 0 |
1713 | 1713 |
1714 if __name__ == "__main__": | 1714 if __name__ == "__main__": |
1715 sys.exit(main()) | 1715 sys.exit(main()) |
OLD | NEW |