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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 }, | 826 }, |
827 ], | 827 ], |
828 }, | 828 }, |
829 'trace_test': { | 829 'trace_test': { |
830 'tester_configs': [ | 830 'tester_configs': [ |
831 { | 831 { |
832 'allow_on_android': True, | 832 'allow_on_android': True, |
833 }, | 833 }, |
834 ], | 834 ], |
835 }, | 835 }, |
836 } | |
837 | |
838 # These tests use Telemetry's new, simpler, browser_test_runner. | |
839 # Eventually all of the Telemetry based tests above will be ported to | |
840 # this harness, and the old harness will be deleted. | |
841 TELEMETRY_GPU_INTEGRATION_TESTS = { | |
842 'webgl_conformance': { | 836 'webgl_conformance': { |
843 'tester_configs': [ | 837 'tester_configs': [ |
844 { | 838 { |
845 'allow_on_android': True, | 839 'allow_on_android': True, |
846 }, | 840 }, |
847 ], | 841 ], |
848 }, | 842 }, |
849 'webgl_conformance_d3d9_tests': { | 843 'webgl_conformance_d3d9_tests': { |
850 'tester_configs': [ | 844 'tester_configs': [ |
851 { | 845 { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 { | 891 { |
898 'fyi_only': True, | 892 'fyi_only': True, |
899 'os_types': ['linux'] | 893 'os_types': ['linux'] |
900 } | 894 } |
901 ], | 895 ], |
902 'target_name': 'webgl_conformance', | 896 'target_name': 'webgl_conformance', |
903 'extra_browser_args': [ | 897 'extra_browser_args': [ |
904 '--use-gl=angle', | 898 '--use-gl=angle', |
905 ], | 899 ], |
906 }, | 900 }, |
| 901 } |
| 902 |
| 903 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 904 # Eventually all of the Telemetry based tests above will be ported to |
| 905 # this harness, and the old harness will be deleted. |
| 906 TELEMETRY_GPU_INTEGRATION_TESTS = { |
907 'webgl2_conformance_tests': { | 907 'webgl2_conformance_tests': { |
908 'tester_configs': [ | 908 'tester_configs': [ |
909 { | 909 { |
910 # The WebGL 2.0 conformance tests take over an hour to run on | 910 # The WebGL 2.0 conformance tests take over an hour to run on |
911 # the Debug bots, which is too long. | 911 # the Debug bots, which is too long. |
912 'build_configs': ['Release', 'Release_x64'], | 912 'build_configs': ['Release', 'Release_x64'], |
913 'fyi_only': True, | 913 'fyi_only': True, |
914 'run_on_optional': True, | 914 'run_on_optional': True, |
915 }, | 915 }, |
916 ], | 916 ], |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1197 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1198 fp.write('\n') | 1198 fp.write('\n') |
1199 | 1199 |
1200 def main(): | 1200 def main(): |
1201 generate_all_tests(FYI_WATERFALL, True) | 1201 generate_all_tests(FYI_WATERFALL, True) |
1202 generate_all_tests(WATERFALL, False) | 1202 generate_all_tests(WATERFALL, False) |
1203 return 0 | 1203 return 0 |
1204 | 1204 |
1205 if __name__ == "__main__": | 1205 if __name__ == "__main__": |
1206 sys.exit(main()) | 1206 sys.exit(main()) |
OLD | NEW |