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

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

Issue 2116593004: Add script which gathers JSON output from a Swarming task's shards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and re-scraped test times. Created 4 years, 5 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
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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 # doesn't support features needed for ES3 924 # doesn't support features needed for ES3
925 'Linux Release (New Intel)', 925 'Linux Release (New Intel)',
926 'Linux Debug (New Intel)', 926 'Linux Debug (New Intel)',
927 ], 927 ],
928 }, 928 },
929 ], 929 ],
930 'target_name': 'webgl_conformance', 930 'target_name': 'webgl_conformance',
931 'args': [ 931 'args': [
932 '--webgl-conformance-version=2.0.0', 932 '--webgl-conformance-version=2.0.0',
933 '--webgl2-only=true', 933 '--webgl2-only=true',
934 # The current working directory when run via isolate is
935 # out/Debug or out/Release. Reference this file relatively to
936 # it.
937 '--read-abbreviated-json-results-from=' + \
938 '../../content/test/data/gpu/webgl2_conformance_tests_output.json',
934 ], 939 ],
935 'swarming': { 940 'swarming': {
936 # These tests currently take about an hour to run. Split them 941 # These tests currently take about an hour to run. Split them
937 # into roughly 5-minute shards. 942 # into roughly 5-minute shards.
938 'shards': 12, 943 'shards': 12,
939 }, 944 },
940 }, 945 },
941 'webgl2_conformance_angle_tests': { 946 'webgl2_conformance_angle_tests': {
942 'tester_configs': [ 947 'tester_configs': [
943 { 948 {
(...skipping 15 matching lines...) Expand all
959 ], 964 ],
960 }, 965 },
961 ], 966 ],
962 'target_name': 'webgl_conformance', 967 'target_name': 'webgl_conformance',
963 'extra_browser_args': [ 968 'extra_browser_args': [
964 '--use-gl=angle', 969 '--use-gl=angle',
965 ], 970 ],
966 'args': [ 971 'args': [
967 '--webgl-conformance-version=2.0.0', 972 '--webgl-conformance-version=2.0.0',
968 '--webgl2-only=true', 973 '--webgl2-only=true',
974 # The current working directory when run via isolate is
975 # out/Debug or out/Release. Reference this file relatively to
976 # it.
977 '--read-abbreviated-json-results-from=' + \
978 '../../content/test/data/gpu/webgl2_conformance_tests_output.json',
969 ], 979 ],
970 'swarming': { 980 'swarming': {
971 # These tests currently take about an hour to run. Split them 981 # These tests currently take about an hour to run. Split them
972 # into roughly 5-minute shards. 982 # into roughly 5-minute shards.
973 'shards': 12, 983 'shards': 12,
974 }, 984 },
975 }, 985 },
976 } 986 }
977 987
978 def substitute_args(tester_config, args): 988 def substitute_args(tester_config, args):
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1207 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1198 fp.write('\n') 1208 fp.write('\n')
1199 1209
1200 def main(): 1210 def main():
1201 generate_all_tests(FYI_WATERFALL, True) 1211 generate_all_tests(FYI_WATERFALL, True)
1202 generate_all_tests(WATERFALL, False) 1212 generate_all_tests(WATERFALL, False)
1203 return 0 1213 return 0
1204 1214
1205 if __name__ == "__main__": 1215 if __name__ == "__main__":
1206 sys.exit(main()) 1216 sys.exit(main())
OLDNEW
« no previous file with comments | « content/test/gpu/gather_swarming_json_results.py ('k') | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698