| 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 }, | 737 }, |
| 738 'hardware_accelerated_feature': { | 738 'hardware_accelerated_feature': { |
| 739 'tester_configs': [ | 739 'tester_configs': [ |
| 740 { | 740 { |
| 741 'allow_on_android': True, | 741 'allow_on_android': True, |
| 742 }, | 742 }, |
| 743 ], | 743 ], |
| 744 }, | 744 }, |
| 745 'maps_pixel_test': { | 745 'maps_pixel_test': { |
| 746 'target_name': 'maps', | 746 'target_name': 'maps', |
| 747 'args': [ |
| 748 '--os-type', |
| 749 '${os_type}', |
| 750 '--build-revision', |
| 751 '${got_revision}', |
| 752 '--test-machine-name', |
| 753 '${buildername}', |
| 754 ], |
| 747 'tester_configs': [ | 755 'tester_configs': [ |
| 748 { | 756 { |
| 749 'allow_on_android': True, | 757 'allow_on_android': True, |
| 750 }, | 758 }, |
| 751 ], | 759 ], |
| 752 }, | 760 }, |
| 753 'memory_test': { | 761 'memory_test': { |
| 754 'tester_configs': [ | 762 'tester_configs': [ |
| 755 { | 763 { |
| 756 'allow_on_android': True, | 764 'allow_on_android': True, |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1136 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1129 fp.write('\n') | 1137 fp.write('\n') |
| 1130 | 1138 |
| 1131 def main(): | 1139 def main(): |
| 1132 generate_all_tests(FYI_WATERFALL, True) | 1140 generate_all_tests(FYI_WATERFALL, True) |
| 1133 generate_all_tests(WATERFALL, False) | 1141 generate_all_tests(WATERFALL, False) |
| 1134 return 0 | 1142 return 0 |
| 1135 | 1143 |
| 1136 if __name__ == "__main__": | 1144 if __name__ == "__main__": |
| 1137 sys.exit(main()) | 1145 sys.exit(main()) |
| OLD | NEW |