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