| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 }, | 594 }, |
| 595 'content_gl_tests': {'args': ['--use-gpu-in-tests']}, | 595 'content_gl_tests': {'args': ['--use-gpu-in-tests']}, |
| 596 # TODO(kbr): content_unittests is killing the Linux GPU swarming | 596 # TODO(kbr): content_unittests is killing the Linux GPU swarming |
| 597 # bots. crbug.com/582094 . It's not useful now anyway until audio | 597 # bots. crbug.com/582094 . It's not useful now anyway until audio |
| 598 # hardware is deployed on the swarming bots, so stop running it | 598 # hardware is deployed on the swarming bots, so stop running it |
| 599 # everywhere. | 599 # everywhere. |
| 600 # 'content_unittests': {}, | 600 # 'content_unittests': {}, |
| 601 'gl_tests': {'args': ['--use-gpu-in-tests']}, | 601 'gl_tests': {'args': ['--use-gpu-in-tests']}, |
| 602 'gl_unittests': {'args': ['--use-gpu-in-tests']}, | 602 'gl_unittests': {'args': ['--use-gpu-in-tests']}, |
| 603 # The gles2_conform_tests are closed-source and deliberately only run | 603 # The gles2_conform_tests are closed-source and deliberately only run |
| 604 # on the FYI waterfall. | 604 # on the FYI waterfall and the optional tryservers. |
| 605 'gles2_conform_test': { | 605 'gles2_conform_test': { |
| 606 'tester_configs': [ | 606 'tester_configs': [ |
| 607 { | 607 { |
| 608 'fyi_only': True, | 608 'fyi_only': True, |
| 609 # Run this on the optional tryservers. |
| 610 'run_on_optional': True, |
| 609 } | 611 } |
| 610 ], | 612 ], |
| 611 'args': ['--use-gpu-in-tests'] | 613 'args': ['--use-gpu-in-tests'] |
| 612 }, | 614 }, |
| 613 'gles2_conform_d3d9_test': { | 615 'gles2_conform_d3d9_test': { |
| 614 'tester_configs': [ | 616 'tester_configs': [ |
| 615 { | 617 { |
| 616 'fyi_only': True, | 618 'fyi_only': True, |
| 617 'os_types': ['win'] | 619 'os_types': ['win'], |
| 620 # Run this on the optional tryservers. |
| 621 'run_on_optional': True, |
| 618 } | 622 } |
| 619 ], | 623 ], |
| 620 'args': [ | 624 'args': [ |
| 621 '--use-gpu-in-tests', | 625 '--use-gpu-in-tests', |
| 622 '--use-angle=d3d9', | 626 '--use-angle=d3d9', |
| 623 ], | 627 ], |
| 624 'test': 'gles2_conform_test', | 628 'test': 'gles2_conform_test', |
| 625 }, | 629 }, |
| 626 'gles2_conform_gl_test': { | 630 'gles2_conform_gl_test': { |
| 627 'tester_configs': [ | 631 'tester_configs': [ |
| 628 { | 632 { |
| 629 'fyi_only': True, | 633 'fyi_only': True, |
| 630 'os_types': ['win'] | 634 'os_types': ['win'], |
| 635 # Run this on the optional tryservers. |
| 636 'run_on_optional': True, |
| 631 } | 637 } |
| 632 ], | 638 ], |
| 633 'args': [ | 639 'args': [ |
| 634 '--use-gpu-in-tests', | 640 '--use-gpu-in-tests', |
| 635 '--use-angle=gl', | 641 '--use-angle=gl', |
| 636 '--disable-gpu-sandbox', | 642 '--disable-gpu-sandbox', |
| 637 ], | 643 ], |
| 638 'test': 'gles2_conform_test', | 644 'test': 'gles2_conform_test', |
| 639 }, | 645 }, |
| 640 'tab_capture_end2end_tests': { | 646 'tab_capture_end2end_tests': { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 'tester_configs': [ | 716 'tester_configs': [ |
| 711 { | 717 { |
| 712 'allow_on_mac_nvidia': True, | 718 'allow_on_mac_nvidia': True, |
| 713 }, | 719 }, |
| 714 ], | 720 ], |
| 715 }, | 721 }, |
| 716 'webgl_conformance_d3d9_tests': { | 722 'webgl_conformance_d3d9_tests': { |
| 717 'tester_configs': [ | 723 'tester_configs': [ |
| 718 { | 724 { |
| 719 'fyi_only': True, | 725 'fyi_only': True, |
| 726 'os_types': ['win'], |
| 720 'run_on_optional': True, | 727 'run_on_optional': True, |
| 721 'os_types': ['win'] | |
| 722 } | 728 } |
| 723 ], | 729 ], |
| 724 'target_name': 'webgl_conformance', | 730 'target_name': 'webgl_conformance', |
| 725 'extra_browser_args': [ | 731 'extra_browser_args': [ |
| 726 '--use-angle=d3d9', | 732 '--use-angle=d3d9', |
| 727 ], | 733 ], |
| 728 }, | 734 }, |
| 729 'webgl_conformance_gl_tests': { | 735 'webgl_conformance_gl_tests': { |
| 730 'tester_configs': [ | 736 'tester_configs': [ |
| 731 { | 737 { |
| 732 'fyi_only': True, | 738 'fyi_only': True, |
| 739 'os_types': ['win'], |
| 733 'run_on_optional': True, | 740 'run_on_optional': True, |
| 734 'os_types': ['win'] | |
| 735 } | 741 } |
| 736 ], | 742 ], |
| 737 'disabled_tester_configs': [ | 743 'disabled_tester_configs': [ |
| 738 { | 744 { |
| 739 'swarming_dimension_sets': [ | 745 'swarming_dimension_sets': [ |
| 740 # BUG 555545: Disable webgl_conformance_gl_tests on Win/AMD | 746 # BUG 555545: Disable webgl_conformance_gl_tests on Win/AMD |
| 741 { | 747 { |
| 742 'gpu': '1002:6779', | 748 'gpu': '1002:6779', |
| 743 'os': 'Windows-2008ServerR2-SP1' | 749 'os': 'Windows-2008ServerR2-SP1' |
| 744 }, | 750 }, |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1023 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1018 fp.write('\n') | 1024 fp.write('\n') |
| 1019 | 1025 |
| 1020 def main(): | 1026 def main(): |
| 1021 generate_all_tests(FYI_WATERFALL, True) | 1027 generate_all_tests(FYI_WATERFALL, True) |
| 1022 generate_all_tests(WATERFALL, False) | 1028 generate_all_tests(WATERFALL, False) |
| 1023 return 0 | 1029 return 0 |
| 1024 | 1030 |
| 1025 if __name__ == "__main__": | 1031 if __name__ == "__main__": |
| 1026 sys.exit(main()) | 1032 sys.exit(main()) |
| OLD | NEW |