| 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 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 }, | 1146 }, |
| 1147 ], | 1147 ], |
| 1148 }, | 1148 }, |
| 1149 'screenshot_sync': { | 1149 'screenshot_sync': { |
| 1150 'tester_configs': [ | 1150 'tester_configs': [ |
| 1151 { | 1151 { |
| 1152 'allow_on_android': True, | 1152 'allow_on_android': True, |
| 1153 }, | 1153 }, |
| 1154 ], | 1154 ], |
| 1155 }, | 1155 }, |
| 1156 'trace_test': { | |
| 1157 'tester_configs': [ | |
| 1158 { | |
| 1159 'allow_on_android': True, | |
| 1160 }, | |
| 1161 ], | |
| 1162 }, | |
| 1163 } | 1156 } |
| 1164 | 1157 |
| 1165 # These tests use Telemetry's new, simpler, browser_test_runner. | 1158 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 1166 # Eventually all of the Telemetry based tests above will be ported to | 1159 # Eventually all of the Telemetry based tests above will be ported to |
| 1167 # this harness, and the old harness will be deleted. | 1160 # this harness, and the old harness will be deleted. |
| 1168 TELEMETRY_GPU_INTEGRATION_TESTS = { | 1161 TELEMETRY_GPU_INTEGRATION_TESTS = { |
| 1169 'context_lost': { | 1162 'context_lost': { |
| 1170 'tester_configs': [ | 1163 'tester_configs': [ |
| 1171 { | 1164 { |
| 1172 'allow_on_android': True, | 1165 'allow_on_android': True, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1197 ], | 1190 ], |
| 1198 'precommit_args': [ | 1191 'precommit_args': [ |
| 1199 '--download-refimg-from-cloud-storage', | 1192 '--download-refimg-from-cloud-storage', |
| 1200 ], | 1193 ], |
| 1201 'tester_configs': [ | 1194 'tester_configs': [ |
| 1202 { | 1195 { |
| 1203 'allow_on_android': True, | 1196 'allow_on_android': True, |
| 1204 }, | 1197 }, |
| 1205 ], | 1198 ], |
| 1206 }, | 1199 }, |
| 1200 'trace_test': { |
| 1201 'tester_configs': [ |
| 1202 { |
| 1203 'allow_on_android': True, |
| 1204 }, |
| 1205 ], |
| 1206 }, |
| 1207 'webgl_conformance': { | 1207 'webgl_conformance': { |
| 1208 'tester_configs': [ | 1208 'tester_configs': [ |
| 1209 { | 1209 { |
| 1210 'allow_on_android': True, | 1210 'allow_on_android': True, |
| 1211 }, | 1211 }, |
| 1212 ], | 1212 ], |
| 1213 }, | 1213 }, |
| 1214 'webgl_conformance_d3d9_tests': { | 1214 'webgl_conformance_d3d9_tests': { |
| 1215 'tester_configs': [ | 1215 'tester_configs': [ |
| 1216 { | 1216 { |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1629 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1630 fp.write('\n') | 1630 fp.write('\n') |
| 1631 | 1631 |
| 1632 def main(): | 1632 def main(): |
| 1633 generate_all_tests(FYI_WATERFALL, True) | 1633 generate_all_tests(FYI_WATERFALL, True) |
| 1634 generate_all_tests(WATERFALL, False) | 1634 generate_all_tests(WATERFALL, False) |
| 1635 return 0 | 1635 return 0 |
| 1636 | 1636 |
| 1637 if __name__ == "__main__": | 1637 if __name__ == "__main__": |
| 1638 sys.exit(main()) | 1638 sys.exit(main()) |
| OLD | NEW |