| 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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 'tab_capture_end2end_tests': { | 1080 'tab_capture_end2end_tests': { |
| 1081 'tester_configs': [ | 1081 'tester_configs': [ |
| 1082 { | 1082 { |
| 1083 'build_configs': ['Release', 'Release_x64'], | 1083 'build_configs': ['Release', 'Release_x64'], |
| 1084 } | 1084 } |
| 1085 ], | 1085 ], |
| 1086 'override_compile_targets': [ | 1086 'override_compile_targets': [ |
| 1087 'tab_capture_end2end_tests_run', | 1087 'tab_capture_end2end_tests_run', |
| 1088 ], | 1088 ], |
| 1089 }, | 1089 }, |
| 1090 'video_decode_accelerator_unittest': { | |
| 1091 'tester_configs': [ | |
| 1092 { | |
| 1093 'os_types': ['win'] | |
| 1094 }, | |
| 1095 ], | |
| 1096 'args': [ | |
| 1097 '--test_video_data=' | |
| 1098 '../../media/test/data/test-25fps.h264:320:240:250:258:50:175:1' | |
| 1099 ], | |
| 1100 }, | |
| 1101 } | 1090 } |
| 1102 | 1091 |
| 1103 # This requires a hack because the isolate's name is different than | 1092 # This requires a hack because the isolate's name is different than |
| 1104 # the executable's name. On the few non-swarmed testers, this causes | 1093 # the executable's name. On the few non-swarmed testers, this causes |
| 1105 # the executable to not be found. It would be better if the Chromium | 1094 # the executable to not be found. It would be better if the Chromium |
| 1106 # recipe supported running isolates locally. crbug.com/581953 | 1095 # recipe supported running isolates locally. crbug.com/581953 |
| 1107 | 1096 |
| 1108 NON_SWARMED_GTESTS = { | 1097 NON_SWARMED_GTESTS = { |
| 1109 'tab_capture_end2end_tests': { | 1098 'tab_capture_end2end_tests': { |
| 1110 'swarming': { | 1099 'swarming': { |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1645 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1634 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1646 fp.write('\n') | 1635 fp.write('\n') |
| 1647 | 1636 |
| 1648 def main(): | 1637 def main(): |
| 1649 generate_all_tests(FYI_WATERFALL, True) | 1638 generate_all_tests(FYI_WATERFALL, True) |
| 1650 generate_all_tests(WATERFALL, False) | 1639 generate_all_tests(WATERFALL, False) |
| 1651 return 0 | 1640 return 0 |
| 1652 | 1641 |
| 1653 if __name__ == "__main__": | 1642 if __name__ == "__main__": |
| 1654 sys.exit(main()) | 1643 sys.exit(main()) |
| OLD | NEW |