| 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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 'args': [ | 794 'args': [ |
| 795 '--enable-gpu', | 795 '--enable-gpu', |
| 796 '--test-launcher-jobs=1', | 796 '--test-launcher-jobs=1', |
| 797 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ | 797 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ |
| 798 'TabCaptureApiPixelTest.EndToEnd*' | 798 'TabCaptureApiPixelTest.EndToEnd*' |
| 799 ] | 799 ] |
| 800 } | 800 } |
| 801 } | 801 } |
| 802 | 802 |
| 803 TELEMETRY_TESTS = { | 803 TELEMETRY_TESTS = { |
| 804 'context_lost': { | |
| 805 'tester_configs': [ | |
| 806 { | |
| 807 'allow_on_android': True, | |
| 808 }, | |
| 809 ] | |
| 810 }, | |
| 811 'gpu_process_launch_tests': { | 804 'gpu_process_launch_tests': { |
| 812 'target_name': 'gpu_process', | 805 'target_name': 'gpu_process', |
| 813 'tester_configs': [ | 806 'tester_configs': [ |
| 814 { | 807 { |
| 815 'allow_on_android': True, | 808 'allow_on_android': True, |
| 816 } | 809 } |
| 817 ], | 810 ], |
| 818 }, | 811 }, |
| 819 'gpu_rasterization': { | 812 'gpu_rasterization': { |
| 820 'tester_configs': [ | 813 'tester_configs': [ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 'allow_on_android': True, | 876 'allow_on_android': True, |
| 884 }, | 877 }, |
| 885 ], | 878 ], |
| 886 }, | 879 }, |
| 887 } | 880 } |
| 888 | 881 |
| 889 # These tests use Telemetry's new, simpler, browser_test_runner. | 882 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 890 # Eventually all of the Telemetry based tests above will be ported to | 883 # Eventually all of the Telemetry based tests above will be ported to |
| 891 # this harness, and the old harness will be deleted. | 884 # this harness, and the old harness will be deleted. |
| 892 TELEMETRY_GPU_INTEGRATION_TESTS = { | 885 TELEMETRY_GPU_INTEGRATION_TESTS = { |
| 886 'context_lost': { |
| 887 'tester_configs': [ |
| 888 { |
| 889 'allow_on_android': True, |
| 890 }, |
| 891 ] |
| 892 }, |
| 893 'webgl_conformance': { | 893 'webgl_conformance': { |
| 894 'tester_configs': [ | 894 'tester_configs': [ |
| 895 { | 895 { |
| 896 'allow_on_android': True, | 896 'allow_on_android': True, |
| 897 }, | 897 }, |
| 898 ], | 898 ], |
| 899 }, | 899 }, |
| 900 'webgl_conformance_d3d9_tests': { | 900 'webgl_conformance_d3d9_tests': { |
| 901 'tester_configs': [ | 901 'tester_configs': [ |
| 902 { | 902 { |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1278 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1279 fp.write('\n') | 1279 fp.write('\n') |
| 1280 | 1280 |
| 1281 def main(): | 1281 def main(): |
| 1282 generate_all_tests(FYI_WATERFALL, True) | 1282 generate_all_tests(FYI_WATERFALL, True) |
| 1283 generate_all_tests(WATERFALL, False) | 1283 generate_all_tests(WATERFALL, False) |
| 1284 return 0 | 1284 return 0 |
| 1285 | 1285 |
| 1286 if __name__ == "__main__": | 1286 if __name__ == "__main__": |
| 1287 sys.exit(main()) | 1287 sys.exit(main()) |
| OLD | NEW |