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