| 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 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 '--use-gl=angle', | 751 '--use-gl=angle', |
| 752 ], | 752 ], |
| 753 }, | 753 }, |
| 754 'webgl2_conformance_tests': { | 754 'webgl2_conformance_tests': { |
| 755 'tester_configs': [ | 755 'tester_configs': [ |
| 756 { | 756 { |
| 757 'fyi_only': True, | 757 'fyi_only': True, |
| 758 'run_on_optional': True, | 758 'run_on_optional': True, |
| 759 }, | 759 }, |
| 760 ], | 760 ], |
| 761 'disabled_tester_configs': [ |
| 762 { |
| 763 'names': [ |
| 764 # http://crbug.com/599451: this test is currently too slow |
| 765 # to run on x64 in Debug mode. Need to shard the tests. |
| 766 'Win7 x64 Debug (NVIDIA)', |
| 767 ], |
| 768 }, |
| 769 ], |
| 761 'target_name': 'webgl_conformance', | 770 'target_name': 'webgl_conformance', |
| 762 'args': [ | 771 'args': [ |
| 763 '--webgl-conformance-version=2.0.0', | 772 '--webgl-conformance-version=2.0.0', |
| 764 '--webgl2-only=true', | 773 '--webgl2-only=true', |
| 765 ], | 774 ], |
| 766 }, | 775 }, |
| 767 } | 776 } |
| 768 | 777 |
| 769 def substitute_args(tester_config, args): | 778 def substitute_args(tester_config, args): |
| 770 """Substitutes the ${os_type} variable in |args| from the | 779 """Substitutes the ${os_type} variable in |args| from the |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 964 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 956 fp.write('\n') | 965 fp.write('\n') |
| 957 | 966 |
| 958 def main(): | 967 def main(): |
| 959 generate_all_tests(FYI_WATERFALL, True) | 968 generate_all_tests(FYI_WATERFALL, True) |
| 960 generate_all_tests(WATERFALL, False) | 969 generate_all_tests(WATERFALL, False) |
| 961 return 0 | 970 return 0 |
| 962 | 971 |
| 963 if __name__ == "__main__": | 972 if __name__ == "__main__": |
| 964 sys.exit(main()) | 973 sys.exit(main()) |
| OLD | NEW |