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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 ], | 849 ], |
850 } | 850 } |
851 ], | 851 ], |
852 'swarming': { | 852 'swarming': { |
853 'shards': 12, | 853 'shards': 12, |
854 }, | 854 }, |
855 'test': 'angle_deqp_gles3_tests', | 855 'test': 'angle_deqp_gles3_tests', |
856 'args': ['--deqp-egl-display-type=angle-gl'] | 856 'args': ['--deqp-egl-display-type=angle-gl'] |
857 }, | 857 }, |
858 | 858 |
| 859 'angle_deqp_gles31_gl_tests': { |
| 860 'tester_configs': [ |
| 861 { |
| 862 'fyi_only': True, |
| 863 'run_on_optional': False, |
| 864 # Run on the Win/Linux Release NVIDIA bots. |
| 865 'build_configs': ['Release'], |
| 866 'swarming_dimension_sets': [ |
| 867 { |
| 868 'gpu': '10de:104a', |
| 869 'os': 'Windows-2008ServerR2-SP1' |
| 870 }, |
| 871 { |
| 872 'gpu': '10de:104a', |
| 873 'os': 'Linux' |
| 874 } |
| 875 ], |
| 876 } |
| 877 ], |
| 878 'swarming': { |
| 879 # TODO(geofflang): Increase the number of shards as more tests start to |
| 880 # pass and runtime increases. |
| 881 'shards': 4, |
| 882 }, |
| 883 'test': 'angle_deqp_gles31_tests', |
| 884 'args': ['--deqp-egl-display-type=angle-gl'] |
| 885 }, |
| 886 |
859 # Until we have more capacity, run angle_end2end_tests only on the | 887 # Until we have more capacity, run angle_end2end_tests only on the |
860 # FYI waterfall, the ANGLE trybots (which mirror the FYI waterfall), | 888 # FYI waterfall, the ANGLE trybots (which mirror the FYI waterfall), |
861 # and the optional trybots (mainly used during ANGLE rolls). | 889 # and the optional trybots (mainly used during ANGLE rolls). |
862 'angle_end2end_tests': { | 890 'angle_end2end_tests': { |
863 'tester_configs': [ | 891 'tester_configs': [ |
864 { | 892 { |
865 'allow_on_android': True, | 893 'allow_on_android': True, |
866 'fyi_only': True, | 894 'fyi_only': True, |
867 'run_on_optional': True, | 895 'run_on_optional': True, |
868 }, | 896 }, |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1550 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1523 fp.write('\n') | 1551 fp.write('\n') |
1524 | 1552 |
1525 def main(): | 1553 def main(): |
1526 generate_all_tests(FYI_WATERFALL, True) | 1554 generate_all_tests(FYI_WATERFALL, True) |
1527 generate_all_tests(WATERFALL, False) | 1555 generate_all_tests(WATERFALL, False) |
1528 return 0 | 1556 return 0 |
1529 | 1557 |
1530 if __name__ == "__main__": | 1558 if __name__ == "__main__": |
1531 sys.exit(main()) | 1559 sys.exit(main()) |
OLD | NEW |