| 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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 } | 692 } |
| 693 | 693 |
| 694 TELEMETRY_TESTS = { | 694 TELEMETRY_TESTS = { |
| 695 'context_lost': { | 695 'context_lost': { |
| 696 'tester_configs': [ | 696 'tester_configs': [ |
| 697 { | 697 { |
| 698 'allow_on_android': True, | 698 'allow_on_android': True, |
| 699 }, | 699 }, |
| 700 ] | 700 ] |
| 701 }, | 701 }, |
| 702 'gpu_process_launch_tests': {'target_name': 'gpu_process'}, | 702 'gpu_process_launch_tests': { |
| 703 'target_name': 'gpu_process', |
| 704 'tester_configs': [ |
| 705 { |
| 706 'allow_on_android': True, |
| 707 } |
| 708 ], |
| 709 }, |
| 703 'gpu_rasterization': { | 710 'gpu_rasterization': { |
| 704 'tester_configs': [ | 711 'tester_configs': [ |
| 705 { | 712 { |
| 706 'allow_on_android': True, | 713 'allow_on_android': True, |
| 707 }, | 714 }, |
| 708 ], | 715 ], |
| 709 }, | 716 }, |
| 710 'hardware_accelerated_feature': { | 717 'hardware_accelerated_feature': { |
| 711 'tester_configs': [ | 718 'tester_configs': [ |
| 712 { | 719 { |
| 713 'allow_on_android': True, | 720 'allow_on_android': True, |
| 714 }, | 721 }, |
| 715 ], | 722 ], |
| 716 }, | 723 }, |
| 717 'maps_pixel_test': { | 724 'maps_pixel_test': { |
| 718 'target_name': 'maps', | 725 'target_name': 'maps', |
| 726 'tester_configs': [ |
| 727 { |
| 728 'allow_on_android': True, |
| 729 }, |
| 730 ], |
| 719 }, | 731 }, |
| 720 'memory_test': { | 732 'memory_test': { |
| 721 'tester_configs': [ | 733 'tester_configs': [ |
| 722 { | 734 { |
| 723 'allow_on_android': True, | 735 'allow_on_android': True, |
| 724 }, | 736 }, |
| 725 ], | 737 ], |
| 726 }, | 738 }, |
| 727 'pixel_test': { | 739 'pixel_test': { |
| 728 'target_name': 'pixel', | 740 'target_name': 'pixel', |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1077 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1066 fp.write('\n') | 1078 fp.write('\n') |
| 1067 | 1079 |
| 1068 def main(): | 1080 def main(): |
| 1069 generate_all_tests(FYI_WATERFALL, True) | 1081 generate_all_tests(FYI_WATERFALL, True) |
| 1070 generate_all_tests(WATERFALL, False) | 1082 generate_all_tests(WATERFALL, False) |
| 1071 return 0 | 1083 return 0 |
| 1072 | 1084 |
| 1073 if __name__ == "__main__": | 1085 if __name__ == "__main__": |
| 1074 sys.exit(main()) | 1086 sys.exit(main()) |
| OLD | NEW |