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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 # Eventually all of the Telemetry based tests above will be ported to | 996 # Eventually all of the Telemetry based tests above will be ported to |
997 # this harness, and the old harness will be deleted. | 997 # this harness, and the old harness will be deleted. |
998 TELEMETRY_GPU_INTEGRATION_TESTS = { | 998 TELEMETRY_GPU_INTEGRATION_TESTS = { |
999 'context_lost': { | 999 'context_lost': { |
1000 'tester_configs': [ | 1000 'tester_configs': [ |
1001 { | 1001 { |
1002 'allow_on_android': True, | 1002 'allow_on_android': True, |
1003 }, | 1003 }, |
1004 ] | 1004 ] |
1005 }, | 1005 }, |
| 1006 'depth_capture': { |
| 1007 'tester_configs': [ |
| 1008 { |
| 1009 'allow_on_android': True, |
| 1010 }, |
| 1011 ] |
| 1012 }, |
1006 'pixel_test': { | 1013 'pixel_test': { |
1007 'target_name': 'pixel', | 1014 'target_name': 'pixel', |
1008 'args': [ | 1015 'args': [ |
1009 '--refimg-cloud-storage-bucket', | 1016 '--refimg-cloud-storage-bucket', |
1010 'chromium-gpu-archive/reference-images', | 1017 'chromium-gpu-archive/reference-images', |
1011 '--os-type', | 1018 '--os-type', |
1012 '${os_type}', | 1019 '${os_type}', |
1013 '--build-revision', | 1020 '--build-revision', |
1014 '${got_revision}', | 1021 '${got_revision}', |
1015 '--test-machine-name', | 1022 '--test-machine-name', |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1442 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1436 fp.write('\n') | 1443 fp.write('\n') |
1437 | 1444 |
1438 def main(): | 1445 def main(): |
1439 generate_all_tests(FYI_WATERFALL, True) | 1446 generate_all_tests(FYI_WATERFALL, True) |
1440 generate_all_tests(WATERFALL, False) | 1447 generate_all_tests(WATERFALL, False) |
1441 return 0 | 1448 return 0 |
1442 | 1449 |
1443 if __name__ == "__main__": | 1450 if __name__ == "__main__": |
1444 sys.exit(main()) | 1451 sys.exit(main()) |
OLD | NEW |