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