| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 ], | 81 ], |
| 82 'build_config': 'Debug', | 82 'build_config': 'Debug', |
| 83 'swarming': True, | 83 'swarming': True, |
| 84 'os_type': 'mac', | 84 'os_type': 'mac', |
| 85 }, | 85 }, |
| 86 'Mac 10.10 Retina Release (AMD)': { | 86 'Mac 10.10 Retina Release (AMD)': { |
| 87 'swarming_dimensions': [ | 87 'swarming_dimensions': [ |
| 88 { | 88 { |
| 89 'gpu': '1002:6821', | 89 'gpu': '1002:6821', |
| 90 'hidpi': '1', | 90 'hidpi': '1', |
| 91 'os': 'Mac-10.10' | 91 'os': 'Mac' |
| 92 }, | 92 }, |
| 93 ], | 93 ], |
| 94 'build_config': 'Release', | 94 'build_config': 'Release', |
| 95 'swarming': True, | 95 'swarming': True, |
| 96 'os_type': 'mac', | 96 'os_type': 'mac', |
| 97 }, | 97 }, |
| 98 'Mac 10.10 Retina Debug (AMD)': { | 98 'Mac 10.10 Retina Debug (AMD)': { |
| 99 'swarming_dimensions': [ | 99 'swarming_dimensions': [ |
| 100 { | 100 { |
| 101 'gpu': '1002:6821', | 101 'gpu': '1002:6821', |
| 102 'hidpi': '1', | 102 'hidpi': '1', |
| 103 'os': 'Mac-10.10' | 103 'os': 'Mac' |
| 104 }, | 104 }, |
| 105 ], | 105 ], |
| 106 'build_config': 'Debug', | 106 'build_config': 'Debug', |
| 107 'swarming': True, | 107 'swarming': True, |
| 108 'os_type': 'mac', | 108 'os_type': 'mac', |
| 109 }, | 109 }, |
| 110 'Linux Release (NVIDIA)': { | 110 'Linux Release (NVIDIA)': { |
| 111 'swarming_dimensions': [ | 111 'swarming_dimensions': [ |
| 112 { | 112 { |
| 113 'gpu': '10de:104a', | 113 'gpu': '10de:104a', |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 ], | 369 ], |
| 370 'build_config': 'Debug', | 370 'build_config': 'Debug', |
| 371 'swarming': True, | 371 'swarming': True, |
| 372 'os_type': 'mac', | 372 'os_type': 'mac', |
| 373 }, | 373 }, |
| 374 'Mac 10.10 Retina Release (AMD)': { | 374 'Mac 10.10 Retina Release (AMD)': { |
| 375 'swarming_dimensions': [ | 375 'swarming_dimensions': [ |
| 376 { | 376 { |
| 377 'gpu': '1002:6821', | 377 'gpu': '1002:6821', |
| 378 'hidpi': '1', | 378 'hidpi': '1', |
| 379 'os': 'Mac-10.10' | 379 'os': 'Mac' |
| 380 }, | 380 }, |
| 381 ], | 381 ], |
| 382 'build_config': 'Release', | 382 'build_config': 'Release', |
| 383 'swarming': True, | 383 'swarming': True, |
| 384 'os_type': 'mac', | 384 'os_type': 'mac', |
| 385 }, | 385 }, |
| 386 'Mac 10.10 Retina Debug (AMD)': { | 386 'Mac 10.10 Retina Debug (AMD)': { |
| 387 'swarming_dimensions': [ | 387 'swarming_dimensions': [ |
| 388 { | 388 { |
| 389 'gpu': '1002:6821', | 389 'gpu': '1002:6821', |
| 390 'hidpi': '1', | 390 'hidpi': '1', |
| 391 'os': 'Mac-10.10' | 391 'os': 'Mac' |
| 392 }, | 392 }, |
| 393 ], | 393 ], |
| 394 'build_config': 'Debug', | 394 'build_config': 'Debug', |
| 395 'swarming': True, | 395 'swarming': True, |
| 396 'os_type': 'mac', | 396 'os_type': 'mac', |
| 397 }, | 397 }, |
| 398 'Mac 10.11 Retina Release (AMD)': { | 398 'Mac 10.11 Retina Release (AMD)': { |
| 399 'swarming_dimensions': [ | 399 'swarming_dimensions': [ |
| 400 { | 400 { |
| 401 'gpu': '1002:6821', | 401 'gpu': '1002:6821', |
| 402 'hidpi': '1', | 402 'hidpi': '1', |
| 403 'os': 'Mac-10.11' | 403 'os': 'Mac' |
| 404 }, | 404 }, |
| 405 ], | 405 ], |
| 406 'build_config': 'Release', | 406 'build_config': 'Release', |
| 407 # This bot is a one-off for testing purposes. | 407 # This bot is a one-off for testing purposes. |
| 408 'swarming': False, | 408 'swarming': False, |
| 409 'os_type': 'mac', | 409 'os_type': 'mac', |
| 410 }, | 410 }, |
| 411 'Mac GPU ASAN Release': { |
| 412 # This bot spawns jobs on multiple GPU types. |
| 413 'swarming_dimensions': [ |
| 414 { |
| 415 'gpu': '8086:0a2e', |
| 416 'os': 'Mac-10.10' |
| 417 }, |
| 418 { |
| 419 'gpu': '1002:6821', |
| 420 'hidpi': '1', |
| 421 'os': 'Mac' |
| 422 }, |
| 423 ], |
| 424 'build_config': 'Release', |
| 425 'swarming': True, |
| 426 'os_type': 'mac', |
| 427 }, |
| 411 'Linux Release (NVIDIA)': { | 428 'Linux Release (NVIDIA)': { |
| 412 'swarming_dimensions': [ | 429 'swarming_dimensions': [ |
| 413 { | 430 { |
| 414 'gpu': '10de:104a', | 431 'gpu': '10de:104a', |
| 415 'os': 'Linux' | 432 'os': 'Linux' |
| 416 }, | 433 }, |
| 417 ], | 434 ], |
| 418 'build_config': 'Release', | 435 'build_config': 'Release', |
| 419 'swarming': True, | 436 'swarming': True, |
| 420 'os_type': 'linux', | 437 'os_type': 'linux', |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 ], | 661 ], |
| 645 'build_config': 'Release', | 662 'build_config': 'Release', |
| 646 'swarming': True, | 663 'swarming': True, |
| 647 'os_type': 'mac', | 664 'os_type': 'mac', |
| 648 }, | 665 }, |
| 649 'Optional Mac 10.10 Retina Release (AMD)': { | 666 'Optional Mac 10.10 Retina Release (AMD)': { |
| 650 'swarming_dimensions': [ | 667 'swarming_dimensions': [ |
| 651 { | 668 { |
| 652 'gpu': '1002:6821', | 669 'gpu': '1002:6821', |
| 653 'hidpi': '1', | 670 'hidpi': '1', |
| 654 'os': 'Mac-10.10' | 671 'os': 'Mac' |
| 655 }, | 672 }, |
| 656 ], | 673 ], |
| 657 'build_config': 'Release', | 674 'build_config': 'Release', |
| 658 'swarming': True, | 675 'swarming': True, |
| 659 'os_type': 'mac', | 676 'os_type': 'mac', |
| 660 }, | 677 }, |
| 661 'Optional Linux Release (NVIDIA)': { | 678 'Optional Linux Release (NVIDIA)': { |
| 662 'swarming_dimensions': [ | 679 'swarming_dimensions': [ |
| 663 { | 680 { |
| 664 'gpu': '10de:104a', | 681 'gpu': '10de:104a', |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1396 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1380 fp.write('\n') | 1397 fp.write('\n') |
| 1381 | 1398 |
| 1382 def main(): | 1399 def main(): |
| 1383 generate_all_tests(FYI_WATERFALL, True) | 1400 generate_all_tests(FYI_WATERFALL, True) |
| 1384 generate_all_tests(WATERFALL, False) | 1401 generate_all_tests(WATERFALL, False) |
| 1385 return 0 | 1402 return 0 |
| 1386 | 1403 |
| 1387 if __name__ == "__main__": | 1404 if __name__ == "__main__": |
| 1388 sys.exit(main()) | 1405 sys.exit(main()) |
| OLD | NEW |