| 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 '${got_revision}', | 958 '${got_revision}', |
| 959 '--test-machine-name', | 959 '--test-machine-name', |
| 960 '${buildername}', | 960 '${buildername}', |
| 961 ], | 961 ], |
| 962 'tester_configs': [ | 962 'tester_configs': [ |
| 963 { | 963 { |
| 964 'allow_on_android': True, | 964 'allow_on_android': True, |
| 965 }, | 965 }, |
| 966 ], | 966 ], |
| 967 }, | 967 }, |
| 968 'pixel_test': { | |
| 969 'target_name': 'pixel', | |
| 970 'args': [ | |
| 971 '--refimg-cloud-storage-bucket', | |
| 972 'chromium-gpu-archive/reference-images', | |
| 973 '--os-type', | |
| 974 '${os_type}', | |
| 975 '--build-revision', | |
| 976 '${got_revision}', | |
| 977 '--test-machine-name', | |
| 978 '${buildername}', | |
| 979 ], | |
| 980 'non_precommit_args': [ | |
| 981 '--upload-refimg-to-cloud-storage', | |
| 982 ], | |
| 983 'precommit_args': [ | |
| 984 '--download-refimg-from-cloud-storage', | |
| 985 ], | |
| 986 'tester_configs': [ | |
| 987 { | |
| 988 'allow_on_android': True, | |
| 989 }, | |
| 990 ], | |
| 991 }, | |
| 992 'screenshot_sync': { | 968 'screenshot_sync': { |
| 993 'tester_configs': [ | 969 'tester_configs': [ |
| 994 { | 970 { |
| 995 'allow_on_android': True, | 971 'allow_on_android': True, |
| 996 }, | 972 }, |
| 997 ], | 973 ], |
| 998 }, | 974 }, |
| 999 'trace_test': { | 975 'trace_test': { |
| 1000 'tester_configs': [ | 976 'tester_configs': [ |
| 1001 { | 977 { |
| 1002 'allow_on_android': True, | 978 'allow_on_android': True, |
| 1003 }, | 979 }, |
| 1004 ], | 980 ], |
| 1005 }, | 981 }, |
| 1006 } | 982 } |
| 1007 | 983 |
| 1008 # These tests use Telemetry's new, simpler, browser_test_runner. | 984 # These tests use Telemetry's new, simpler, browser_test_runner. |
| 1009 # Eventually all of the Telemetry based tests above will be ported to | 985 # Eventually all of the Telemetry based tests above will be ported to |
| 1010 # this harness, and the old harness will be deleted. | 986 # this harness, and the old harness will be deleted. |
| 1011 TELEMETRY_GPU_INTEGRATION_TESTS = { | 987 TELEMETRY_GPU_INTEGRATION_TESTS = { |
| 1012 'context_lost': { | 988 'context_lost': { |
| 1013 'tester_configs': [ | 989 'tester_configs': [ |
| 1014 { | 990 { |
| 1015 'allow_on_android': True, | 991 'allow_on_android': True, |
| 1016 }, | 992 }, |
| 1017 ] | 993 ] |
| 1018 }, | 994 }, |
| 995 'pixel_test': { |
| 996 'target_name': 'pixel', |
| 997 'args': [ |
| 998 '--refimg-cloud-storage-bucket', |
| 999 'chromium-gpu-archive/reference-images', |
| 1000 '--os-type', |
| 1001 '${os_type}', |
| 1002 '--build-revision', |
| 1003 '${got_revision}', |
| 1004 '--test-machine-name', |
| 1005 '${buildername}', |
| 1006 ], |
| 1007 'non_precommit_args': [ |
| 1008 '--upload-refimg-to-cloud-storage', |
| 1009 ], |
| 1010 'precommit_args': [ |
| 1011 '--download-refimg-from-cloud-storage', |
| 1012 ], |
| 1013 'tester_configs': [ |
| 1014 { |
| 1015 'allow_on_android': True, |
| 1016 }, |
| 1017 ], |
| 1018 }, |
| 1019 'webgl_conformance': { | 1019 'webgl_conformance': { |
| 1020 'tester_configs': [ | 1020 'tester_configs': [ |
| 1021 { | 1021 { |
| 1022 'allow_on_android': True, | 1022 'allow_on_android': True, |
| 1023 }, | 1023 }, |
| 1024 ], | 1024 ], |
| 1025 }, | 1025 }, |
| 1026 'webgl_conformance_d3d9_tests': { | 1026 'webgl_conformance_d3d9_tests': { |
| 1027 'tester_configs': [ | 1027 'tester_configs': [ |
| 1028 { | 1028 { |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1407 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1408 fp.write('\n') | 1408 fp.write('\n') |
| 1409 | 1409 |
| 1410 def main(): | 1410 def main(): |
| 1411 generate_all_tests(FYI_WATERFALL, True) | 1411 generate_all_tests(FYI_WATERFALL, True) |
| 1412 generate_all_tests(WATERFALL, False) | 1412 generate_all_tests(WATERFALL, False) |
| 1413 return 0 | 1413 return 0 |
| 1414 | 1414 |
| 1415 if __name__ == "__main__": | 1415 if __name__ == "__main__": |
| 1416 sys.exit(main()) | 1416 sys.exit(main()) |
| OLD | NEW |