| 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1108 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ | 1108 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ |
| 1109 'TabCaptureApiPixelTest.EndToEnd*' | 1109 'TabCaptureApiPixelTest.EndToEnd*' |
| 1110 ], | 1110 ], |
| 1111 'swarming': { | 1111 'swarming': { |
| 1112 'can_use_on_swarming_builders': False, | 1112 'can_use_on_swarming_builders': False, |
| 1113 }, | 1113 }, |
| 1114 } | 1114 } |
| 1115 } | 1115 } |
| 1116 | 1116 |
| 1117 TELEMETRY_TESTS = { | 1117 TELEMETRY_TESTS = { |
| 1118 'hardware_accelerated_feature': { | |
| 1119 'tester_configs': [ | |
| 1120 { | |
| 1121 'allow_on_android': True, | |
| 1122 }, | |
| 1123 ], | |
| 1124 }, | |
| 1125 'maps_pixel_test': { | 1118 'maps_pixel_test': { |
| 1126 'target_name': 'maps', | 1119 'target_name': 'maps', |
| 1127 'args': [ | 1120 'args': [ |
| 1128 '--os-type', | 1121 '--os-type', |
| 1129 '${os_type}', | 1122 '${os_type}', |
| 1130 '--build-revision', | 1123 '--build-revision', |
| 1131 '${got_revision}', | 1124 '${got_revision}', |
| 1132 '--test-machine-name', | 1125 '--test-machine-name', |
| 1133 '${buildername}', | 1126 '${buildername}', |
| 1134 ], | 1127 ], |
| 1135 'tester_configs': [ | 1128 'tester_configs': [ |
| 1136 { | 1129 { |
| 1137 'allow_on_android': True, | 1130 'allow_on_android': True, |
| 1138 }, | 1131 }, |
| 1139 ], | 1132 ], |
| 1140 }, | 1133 }, |
| 1141 'screenshot_sync': { | |
| 1142 'tester_configs': [ | |
| 1143 { | |
| 1144 'allow_on_android': True, | |
| 1145 }, | |
| 1146 ], | |
| 1147 }, | |
| 1148 } | 1134 } |
| 1149 | 1135 |
| 1150 # These tests use Telemetry's new, simpler, browser_test_runner. | 1136 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 1151 # Eventually all of the Telemetry based tests above will be ported to | 1137 # Eventually all of the Telemetry based tests above will be ported to |
| 1152 # this harness, and the old harness will be deleted. | 1138 # this harness, and the old harness will be deleted. |
| 1153 TELEMETRY_GPU_INTEGRATION_TESTS = { | 1139 TELEMETRY_GPU_INTEGRATION_TESTS = { |
| 1154 'context_lost': { | 1140 'context_lost': { |
| 1155 'tester_configs': [ | 1141 'tester_configs': [ |
| 1156 { | 1142 { |
| 1157 'allow_on_android': True, | 1143 'allow_on_android': True, |
| 1158 }, | 1144 }, |
| 1159 ] | 1145 ] |
| 1160 }, | 1146 }, |
| 1161 'depth_capture': { | 1147 'depth_capture': { |
| 1162 'tester_configs': [ | 1148 'tester_configs': [ |
| 1163 { | 1149 { |
| 1164 'allow_on_android': True, | 1150 'allow_on_android': True, |
| 1165 }, | 1151 }, |
| 1166 ] | 1152 ] |
| 1167 }, | 1153 }, |
| 1168 'gpu_process_launch_tests': { | 1154 'gpu_process_launch_tests': { |
| 1169 'target_name': 'gpu_process', | 1155 'target_name': 'gpu_process', |
| 1170 'tester_configs': [ | 1156 'tester_configs': [ |
| 1171 { | 1157 { |
| 1172 'allow_on_android': True, | 1158 'allow_on_android': True, |
| 1173 } | 1159 } |
| 1174 ], | 1160 ], |
| 1175 }, | 1161 }, |
| 1162 'hardware_accelerated_feature': { |
| 1163 'tester_configs': [ |
| 1164 { |
| 1165 'allow_on_android': True, |
| 1166 }, |
| 1167 ], |
| 1168 }, |
| 1176 'pixel_test': { | 1169 'pixel_test': { |
| 1177 'target_name': 'pixel', | 1170 'target_name': 'pixel', |
| 1178 'args': [ | 1171 'args': [ |
| 1179 '--refimg-cloud-storage-bucket', | 1172 '--refimg-cloud-storage-bucket', |
| 1180 'chromium-gpu-archive/reference-images', | 1173 'chromium-gpu-archive/reference-images', |
| 1181 '--os-type', | 1174 '--os-type', |
| 1182 '${os_type}', | 1175 '${os_type}', |
| 1183 '--build-revision', | 1176 '--build-revision', |
| 1184 '${got_revision}', | 1177 '${got_revision}', |
| 1185 '--test-machine-name', | 1178 '--test-machine-name', |
| 1186 '${buildername}', | 1179 '${buildername}', |
| 1187 ], | 1180 ], |
| 1188 'non_precommit_args': [ | 1181 'non_precommit_args': [ |
| 1189 '--upload-refimg-to-cloud-storage', | 1182 '--upload-refimg-to-cloud-storage', |
| 1190 ], | 1183 ], |
| 1191 'precommit_args': [ | 1184 'precommit_args': [ |
| 1192 '--download-refimg-from-cloud-storage', | 1185 '--download-refimg-from-cloud-storage', |
| 1193 ], | 1186 ], |
| 1194 'tester_configs': [ | 1187 'tester_configs': [ |
| 1195 { | 1188 { |
| 1196 'allow_on_android': True, | 1189 'allow_on_android': True, |
| 1197 }, | 1190 }, |
| 1198 ], | 1191 ], |
| 1199 }, | 1192 }, |
| 1193 'screenshot_sync': { |
| 1194 'tester_configs': [ |
| 1195 { |
| 1196 'allow_on_android': True, |
| 1197 }, |
| 1198 ], |
| 1199 }, |
| 1200 'trace_test': { | 1200 'trace_test': { |
| 1201 'tester_configs': [ | 1201 'tester_configs': [ |
| 1202 { | 1202 { |
| 1203 'allow_on_android': True, | 1203 'allow_on_android': True, |
| 1204 }, | 1204 }, |
| 1205 ], | 1205 ], |
| 1206 }, | 1206 }, |
| 1207 'webgl_conformance': { | 1207 'webgl_conformance': { |
| 1208 'tester_configs': [ | 1208 'tester_configs': [ |
| 1209 { | 1209 { |
| (...skipping 419 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 |