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