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 'gpu_process_launch_tests': { | |
1119 'target_name': 'gpu_process', | |
1120 'tester_configs': [ | |
1121 { | |
1122 'allow_on_android': True, | |
1123 } | |
1124 ], | |
1125 }, | |
1126 'hardware_accelerated_feature': { | 1118 'hardware_accelerated_feature': { |
1127 'tester_configs': [ | 1119 'tester_configs': [ |
1128 { | 1120 { |
1129 'allow_on_android': True, | 1121 'allow_on_android': True, |
1130 }, | 1122 }, |
1131 ], | 1123 ], |
1132 }, | 1124 }, |
1133 'maps_pixel_test': { | 1125 'maps_pixel_test': { |
1134 'target_name': 'maps', | 1126 'target_name': 'maps', |
1135 'args': [ | 1127 'args': [ |
(...skipping 30 matching lines...) Expand all Loading... |
1166 }, | 1158 }, |
1167 ] | 1159 ] |
1168 }, | 1160 }, |
1169 'depth_capture': { | 1161 'depth_capture': { |
1170 'tester_configs': [ | 1162 'tester_configs': [ |
1171 { | 1163 { |
1172 'allow_on_android': True, | 1164 'allow_on_android': True, |
1173 }, | 1165 }, |
1174 ] | 1166 ] |
1175 }, | 1167 }, |
| 1168 'gpu_process_launch_tests': { |
| 1169 'target_name': 'gpu_process', |
| 1170 'tester_configs': [ |
| 1171 { |
| 1172 'allow_on_android': True, |
| 1173 } |
| 1174 ], |
| 1175 }, |
1176 'pixel_test': { | 1176 'pixel_test': { |
1177 'target_name': 'pixel', | 1177 'target_name': 'pixel', |
1178 'args': [ | 1178 'args': [ |
1179 '--refimg-cloud-storage-bucket', | 1179 '--refimg-cloud-storage-bucket', |
1180 'chromium-gpu-archive/reference-images', | 1180 'chromium-gpu-archive/reference-images', |
1181 '--os-type', | 1181 '--os-type', |
1182 '${os_type}', | 1182 '${os_type}', |
1183 '--build-revision', | 1183 '--build-revision', |
1184 '${got_revision}', | 1184 '${got_revision}', |
1185 '--test-machine-name', | 1185 '--test-machine-name', |
(...skipping 443 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 |