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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 | 1116 |
1117 TELEMETRY_TESTS = { | 1117 TELEMETRY_TESTS = { |
1118 'gpu_process_launch_tests': { | 1118 'gpu_process_launch_tests': { |
1119 'target_name': 'gpu_process', | 1119 'target_name': 'gpu_process', |
1120 'tester_configs': [ | 1120 'tester_configs': [ |
1121 { | 1121 { |
1122 'allow_on_android': True, | 1122 'allow_on_android': True, |
1123 } | 1123 } |
1124 ], | 1124 ], |
1125 }, | 1125 }, |
1126 'gpu_rasterization': { | |
1127 'tester_configs': [ | |
1128 { | |
1129 'allow_on_android': True, | |
1130 }, | |
1131 ], | |
1132 }, | |
1133 'hardware_accelerated_feature': { | 1126 'hardware_accelerated_feature': { |
1134 'tester_configs': [ | 1127 'tester_configs': [ |
1135 { | 1128 { |
1136 'allow_on_android': True, | 1129 'allow_on_android': True, |
1137 }, | 1130 }, |
1138 ], | 1131 ], |
1139 }, | 1132 }, |
1140 'maps_pixel_test': { | 1133 'maps_pixel_test': { |
1141 'target_name': 'maps', | 1134 'target_name': 'maps', |
1142 'args': [ | 1135 'args': [ |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1629 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1637 fp.write('\n') | 1630 fp.write('\n') |
1638 | 1631 |
1639 def main(): | 1632 def main(): |
1640 generate_all_tests(FYI_WATERFALL, True) | 1633 generate_all_tests(FYI_WATERFALL, True) |
1641 generate_all_tests(WATERFALL, False) | 1634 generate_all_tests(WATERFALL, False) |
1642 return 0 | 1635 return 0 |
1643 | 1636 |
1644 if __name__ == "__main__": | 1637 if __name__ == "__main__": |
1645 sys.exit(main()) | 1638 sys.exit(main()) |
OLD | NEW |