Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Side by Side Diff: content/test/gpu/generate_buildbot_json.py

Issue 1968663002: Run the WebGL2 CTS on ANGLE on Linux on the GPU FYI waterfall (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 'Linux Debug (New Intel)', 861 'Linux Debug (New Intel)',
862 ], 862 ],
863 }, 863 },
864 ], 864 ],
865 'target_name': 'webgl_conformance', 865 'target_name': 'webgl_conformance',
866 'args': [ 866 'args': [
867 '--webgl-conformance-version=2.0.0', 867 '--webgl-conformance-version=2.0.0',
868 '--webgl2-only=true', 868 '--webgl2-only=true',
869 ], 869 ],
870 }, 870 },
871 'webgl2_conformance_angle_tests': {
872 'tester_configs': [
873 {
874 # The WebGL 2.0 conformance tests take over an hour to run on
875 # the Debug bots, which is too long.
876 'build_configs': ['Release'],
877 'fyi_only': True,
878 'run_on_optional': False,
879 # Only run on the NVIDIA Release and New Intel Release Linux bots
880 'swarming_dimension_sets': [
881 {
882 'gpu': '10de:104a',
883 'os': 'Linux'
884 },
885 {
886 'gpu': '8086:0412',
887 'os': 'Linux'
888 },
889 ],
890 },
891 ],
892 'target_name': 'webgl_conformance',
893 'extra_browser_args': [
894 '--use-gl=angle',
895 ],
896 'args': [
897 '--webgl-conformance-version=2.0.0',
898 '--webgl2-only=true',
899 ],
900 },
871 } 901 }
872 902
873 def substitute_args(tester_config, args): 903 def substitute_args(tester_config, args):
874 """Substitutes the ${os_type} variable in |args| from the 904 """Substitutes the ${os_type} variable in |args| from the
875 tester_config's "os_type" property. 905 tester_config's "os_type" property.
876 """ 906 """
877 substitutions = { 907 substitutions = {
878 'os_type': tester_config['os_type'] 908 'os_type': tester_config['os_type']
879 } 909 }
880 return [string.Template(arg).safe_substitute(substitutions) for arg in args] 910 return [string.Template(arg).safe_substitute(substitutions) for arg in args]
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1107 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1078 fp.write('\n') 1108 fp.write('\n')
1079 1109
1080 def main(): 1110 def main():
1081 generate_all_tests(FYI_WATERFALL, True) 1111 generate_all_tests(FYI_WATERFALL, True)
1082 generate_all_tests(WATERFALL, False) 1112 generate_all_tests(WATERFALL, False)
1083 return 0 1113 return 0
1084 1114
1085 if __name__ == "__main__": 1115 if __name__ == "__main__":
1086 sys.exit(main()) 1116 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698