| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ | 911 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ |
| 912 'TabCaptureApiPixelTest.EndToEnd*' | 912 'TabCaptureApiPixelTest.EndToEnd*' |
| 913 ], | 913 ], |
| 914 'swarming': { | 914 'swarming': { |
| 915 'can_use_on_swarming_builders': False, | 915 'can_use_on_swarming_builders': False, |
| 916 }, | 916 }, |
| 917 } | 917 } |
| 918 } | 918 } |
| 919 | 919 |
| 920 TELEMETRY_TESTS = { | 920 TELEMETRY_TESTS = { |
| 921 'context_lost': { | |
| 922 'tester_configs': [ | |
| 923 { | |
| 924 'allow_on_android': True, | |
| 925 }, | |
| 926 ] | |
| 927 }, | |
| 928 'gpu_process_launch_tests': { | 921 'gpu_process_launch_tests': { |
| 929 'target_name': 'gpu_process', | 922 'target_name': 'gpu_process', |
| 930 'tester_configs': [ | 923 'tester_configs': [ |
| 931 { | 924 { |
| 932 'allow_on_android': True, | 925 'allow_on_android': True, |
| 933 } | 926 } |
| 934 ], | 927 ], |
| 935 }, | 928 }, |
| 936 'gpu_rasterization': { | 929 'gpu_rasterization': { |
| 937 'tester_configs': [ | 930 'tester_configs': [ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 'allow_on_android': True, | 993 'allow_on_android': True, |
| 1001 }, | 994 }, |
| 1002 ], | 995 ], |
| 1003 }, | 996 }, |
| 1004 } | 997 } |
| 1005 | 998 |
| 1006 # These tests use Telemetry's new, simpler, browser_test_runner. | 999 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 1007 # Eventually all of the Telemetry based tests above will be ported to | 1000 # Eventually all of the Telemetry based tests above will be ported to |
| 1008 # this harness, and the old harness will be deleted. | 1001 # this harness, and the old harness will be deleted. |
| 1009 TELEMETRY_GPU_INTEGRATION_TESTS = { | 1002 TELEMETRY_GPU_INTEGRATION_TESTS = { |
| 1003 'context_lost': { |
| 1004 'tester_configs': [ |
| 1005 { |
| 1006 'allow_on_android': True, |
| 1007 }, |
| 1008 ] |
| 1009 }, |
| 1010 'webgl_conformance': { | 1010 'webgl_conformance': { |
| 1011 'tester_configs': [ | 1011 'tester_configs': [ |
| 1012 { | 1012 { |
| 1013 'allow_on_android': True, | 1013 'allow_on_android': True, |
| 1014 }, | 1014 }, |
| 1015 ], | 1015 ], |
| 1016 }, | 1016 }, |
| 1017 'webgl_conformance_d3d9_tests': { | 1017 'webgl_conformance_d3d9_tests': { |
| 1018 'tester_configs': [ | 1018 'tester_configs': [ |
| 1019 { | 1019 { |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1393 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1394 fp.write('\n') | 1394 fp.write('\n') |
| 1395 | 1395 |
| 1396 def main(): | 1396 def main(): |
| 1397 generate_all_tests(FYI_WATERFALL, True) | 1397 generate_all_tests(FYI_WATERFALL, True) |
| 1398 generate_all_tests(WATERFALL, False) | 1398 generate_all_tests(WATERFALL, False) |
| 1399 return 0 | 1399 return 0 |
| 1400 | 1400 |
| 1401 if __name__ == "__main__": | 1401 if __name__ == "__main__": |
| 1402 sys.exit(main()) | 1402 sys.exit(main()) |
| OLD | NEW |