| 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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 'tester_configs': [ | 758 'tester_configs': [ |
| 759 { | 759 { |
| 760 'fyi_only': True, | 760 'fyi_only': True, |
| 761 # Run this on the optional tryservers. | 761 # Run this on the optional tryservers. |
| 762 'run_on_optional': True, | 762 'run_on_optional': True, |
| 763 # Run only on the Win7 NVIDIA/AMD R7 240 32- and 64-bit bots (and | 763 # Run only on the Win7 NVIDIA/AMD R7 240 32- and 64-bit bots (and |
| 764 # trybots) for the time being, at least until more capacity is | 764 # trybots) for the time being, at least until more capacity is |
| 765 # added. | 765 # added. |
| 766 'build_configs': ['Release', 'Release_x64'], | 766 'build_configs': ['Release', 'Release_x64'], |
| 767 'swarming_dimension_sets': [ | 767 'swarming_dimension_sets': [ |
| 768 # NVIDIA Win 7 |
| 768 { | 769 { |
| 769 'gpu': '10de:104a', | 770 'gpu': '10de:104a', |
| 770 'os': 'Windows-2008ServerR2-SP1' | 771 'os': 'Windows-2008ServerR2-SP1' |
| 771 }, | 772 }, |
| 773 # AMD Win 7 |
| 772 { | 774 { |
| 773 'gpu': '1002:6613', | 775 'gpu': '1002:6613', |
| 774 'os': 'Windows-2008ServerR2-SP1' | 776 'os': 'Windows-2008ServerR2-SP1' |
| 775 }, | 777 }, |
| 776 ], | 778 ], |
| 777 }, | 779 }, |
| 778 ], | 780 ], |
| 779 'desktop_swarming': { | 781 'desktop_swarming': { |
| 780 'shards': 4, | 782 'shards': 4, |
| 781 }, | 783 }, |
| 782 'test': 'angle_deqp_gles2_tests', | 784 'test': 'angle_deqp_gles2_tests', |
| 783 'args': [ | 785 'args': [ |
| 784 '--test-launcher-batch-limit=400', | 786 '--test-launcher-batch-limit=400', |
| 785 '--deqp-egl-display-type=angle-d3d11' | 787 '--deqp-egl-display-type=angle-d3d11' |
| 786 ] | 788 ] |
| 787 }, | 789 }, |
| 788 | 790 |
| 789 'angle_deqp_gles2_gl_tests': { | 791 'angle_deqp_gles2_gl_tests': { |
| 790 'tester_configs': [ | 792 'tester_configs': [ |
| 791 { | 793 { |
| 792 'fyi_only': True, | 794 'fyi_only': True, |
| 793 # Run this on the optional tryservers. | 795 # Run this on the optional tryservers. |
| 794 'run_on_optional': True, | 796 'run_on_optional': True, |
| 795 # Run only on the Linux Release NVIDIA 32- and 64-bit bots (and | 797 # Run only on the Linux Release NVIDIA 32- and 64-bit bots (and |
| 796 # trybots) for the time being, at least until more capacity is added. | 798 # trybots) for the time being, at least until more capacity is added. |
| 797 'build_configs': ['Release', 'Release_x64'], | 799 'build_configs': ['Release', 'Release_x64'], |
| 798 'swarming_dimension_sets': [ | 800 'swarming_dimension_sets': [ |
| 801 # NVIDIA Linux |
| 799 { | 802 { |
| 800 'gpu': '10de:104a', | 803 'gpu': '10de:104a', |
| 801 'os': 'Linux' | 804 'os': 'Linux' |
| 802 }, | 805 }, |
| 803 ], | 806 ], |
| 804 }, | 807 }, |
| 805 ], | 808 ], |
| 806 'desktop_swarming': { | 809 'desktop_swarming': { |
| 807 'shards': 4, | 810 'shards': 4, |
| 808 }, | 811 }, |
| 809 'test': 'angle_deqp_gles2_tests', | 812 'test': 'angle_deqp_gles2_tests', |
| 810 'args': [ | 813 'args': [ |
| 811 '--test-launcher-batch-limit=400', | 814 '--test-launcher-batch-limit=400', |
| 812 '--deqp-egl-display-type=angle-gl' | 815 '--deqp-egl-display-type=angle-gl' |
| 813 ] | 816 ] |
| 814 }, | 817 }, |
| 815 | 818 |
| 816 'angle_deqp_gles2_gles_tests': { | 819 'angle_deqp_gles2_gles_tests': { |
| 817 'tester_configs': [ | 820 'tester_configs': [ |
| 818 { | 821 { |
| 819 'allow_on_android': True, | 822 'allow_on_android': True, |
| 820 'fyi_only': True, | 823 'fyi_only': True, |
| 821 # Run this on the optional tryservers. | 824 # Run this on the optional tryservers. |
| 822 'run_on_optional': True, | 825 'run_on_optional': True, |
| 823 # Run on Nexus 5X swarmed bots. | 826 # Run on Nexus 5X swarmed bots. |
| 824 'build_configs': ['android-chromium'], | 827 'build_configs': ['android-chromium'], |
| 825 'swarming_dimension_sets': [ | 828 'swarming_dimension_sets': [ |
| 829 # Nexus 5X |
| 826 { | 830 { |
| 827 'device_type': 'bullhead', | 831 'device_type': 'bullhead', |
| 828 'device_os': 'M', | 832 'device_os': 'M', |
| 829 'os': 'Android' | 833 'os': 'Android' |
| 830 } | 834 } |
| 831 ], | 835 ], |
| 832 }, | 836 }, |
| 833 ], | 837 ], |
| 834 'test': 'angle_deqp_gles2_tests', | 838 'test': 'angle_deqp_gles2_tests', |
| 835 # Only pass the display type to desktop. The Android runner doesn't support | 839 # Only pass the display type to desktop. The Android runner doesn't support |
| 836 # passing args to the executable but only one display type is supported on | 840 # passing args to the executable but only one display type is supported on |
| 837 # Android anyways. | 841 # Android anyways. |
| 838 'desktop_args': [ | 842 'desktop_args': [ |
| 839 '--test-launcher-batch-limit=400', | 843 '--test-launcher-batch-limit=400', |
| 840 '--deqp-egl-display-type=angle-gles' | 844 '--deqp-egl-display-type=angle-gles' |
| 841 ], | 845 ], |
| 842 'android_args': ['--enable-xml-result-parsing'] | 846 'android_args': ['--enable-xml-result-parsing'] |
| 843 }, | 847 }, |
| 844 | 848 |
| 845 'angle_deqp_gles3_d3d11_tests': { | 849 'angle_deqp_gles3_d3d11_tests': { |
| 846 'tester_configs': [ | 850 'tester_configs': [ |
| 847 { | 851 { |
| 848 'fyi_only': True, | 852 'fyi_only': True, |
| 849 # TODO(jmadill): Run this on the optional tryservers. | 853 # TODO(jmadill): Run this on ANGLE roll tryservers. |
| 850 'run_on_optional': False, | 854 'run_on_optional': False, |
| 851 # Run only on the Win7 Release NVIDIA 32-bit bots (and trybots) for the | 855 # Run only on the NVIDIA and AMD Win7 bots (and trybots) for the time |
| 852 # time being, at least until more capacity is added. | 856 # being, at least until more capacity is added. |
| 853 # TODO(jmadill): Run on the Win AMD R7 240 bots once they are swarmed. | |
| 854 'build_configs': ['Release'], | 857 'build_configs': ['Release'], |
| 855 'swarming_dimension_sets': [ | 858 'swarming_dimension_sets': [ |
| 859 # NVIDIA Win 7 |
| 856 { | 860 { |
| 857 'gpu': '10de:104a', | 861 'gpu': '10de:104a', |
| 858 'os': 'Windows-2008ServerR2-SP1' | 862 'os': 'Windows-2008ServerR2-SP1' |
| 863 }, |
| 864 # AMD Win 7 |
| 865 { |
| 866 'gpu': '1002:6613', |
| 867 'os': 'Windows-2008ServerR2-SP1' |
| 859 } | 868 } |
| 860 ], | 869 ], |
| 861 } | 870 } |
| 862 ], | 871 ], |
| 863 'swarming': { | 872 'swarming': { |
| 864 'shards': 12, | 873 'shards': 12, |
| 865 }, | 874 }, |
| 866 'test': 'angle_deqp_gles3_tests', | 875 'test': 'angle_deqp_gles3_tests', |
| 867 'args': [ | 876 'args': [ |
| 868 '--test-launcher-batch-limit=400', | 877 '--test-launcher-batch-limit=400', |
| 869 '--deqp-egl-display-type=angle-d3d11' | 878 '--deqp-egl-display-type=angle-d3d11' |
| 870 ] | 879 ] |
| 871 }, | 880 }, |
| 872 | 881 |
| 873 'angle_deqp_gles3_gl_tests': { | 882 'angle_deqp_gles3_gl_tests': { |
| 874 'tester_configs': [ | 883 'tester_configs': [ |
| 875 { | 884 { |
| 876 'fyi_only': True, | 885 'fyi_only': True, |
| 877 # TODO(jmadill): Run this on the optional tryservers. | 886 # TODO(jmadill): Run this on ANGLE roll tryservers. |
| 878 'run_on_optional': False, | 887 'run_on_optional': False, |
| 879 # Run only on the Linux Release NVIDIA 32-bit bots (and trybots) for | 888 # Run only on the Linux Release NVIDIA 32-bit bots (and trybots) for |
| 880 # the time being, at least until more capacity is added. | 889 # the time being, at least until more capacity is added. |
| 881 'build_configs': ['Release'], | 890 'build_configs': ['Release'], |
| 882 'swarming_dimension_sets': [ | 891 'swarming_dimension_sets': [ |
| 892 # NVIDIA Linux |
| 883 { | 893 { |
| 884 'gpu': '10de:104a', | 894 'gpu': '10de:104a', |
| 885 'os': 'Linux' | 895 'os': 'Linux' |
| 886 } | 896 } |
| 887 ], | 897 ], |
| 888 } | 898 } |
| 889 ], | 899 ], |
| 890 'swarming': { | 900 'swarming': { |
| 891 'shards': 12, | 901 'shards': 12, |
| 892 }, | 902 }, |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1645 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1655 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1646 fp.write('\n') | 1656 fp.write('\n') |
| 1647 | 1657 |
| 1648 def main(): | 1658 def main(): |
| 1649 generate_all_tests(FYI_WATERFALL, True) | 1659 generate_all_tests(FYI_WATERFALL, True) |
| 1650 generate_all_tests(WATERFALL, False) | 1660 generate_all_tests(WATERFALL, False) |
| 1651 return 0 | 1661 return 0 |
| 1652 | 1662 |
| 1653 if __name__ == "__main__": | 1663 if __name__ == "__main__": |
| 1654 sys.exit(main()) | 1664 sys.exit(main()) |
| OLD | NEW |