| 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 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1497 if 'test' in result: | 1497 if 'test' in result: |
| 1498 result['override_isolate_target'] = result['test'] | 1498 result['override_isolate_target'] = result['test'] |
| 1499 else: | 1499 else: |
| 1500 result['override_isolate_target'] = result['name'] | 1500 result['override_isolate_target'] = result['name'] |
| 1501 # Integrate with the unified logcat system. | 1501 # Integrate with the unified logcat system. |
| 1502 result['swarming'].update({ | 1502 result['swarming'].update({ |
| 1503 'cipd_packages': [ | 1503 'cipd_packages': [ |
| 1504 { | 1504 { |
| 1505 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', | 1505 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', |
| 1506 'location': 'bin', | 1506 'location': 'bin', |
| 1507 'revision': 'git_revision:3ff24775a900b675866fbcacf2a8f98a18b2a16a' | 1507 'revision': 'git_revision:25755a2c316937ee44a6432163dc5e2f9c85cf58' |
| 1508 } | 1508 } |
| 1509 ], | 1509 ], |
| 1510 'output_links': [ | 1510 'output_links': [ |
| 1511 { | 1511 { |
| 1512 'link': [ | 1512 'link': [ |
| 1513 'https://luci-logdog.appspot.com/v/?s', | 1513 'https://luci-logdog.appspot.com/v/?s', |
| 1514 '=android%2Fswarming%2Flogcats%2F', | 1514 '=android%2Fswarming%2Flogcats%2F', |
| 1515 '${TASK_ID}%2F%2B%2Funified_logcats' | 1515 '${TASK_ID}%2F%2B%2Funified_logcats' |
| 1516 ], | 1516 ], |
| 1517 'name': 'shard #${SHARD_INDEX} logcats' | 1517 'name': 'shard #${SHARD_INDEX} logcats' |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1655 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1655 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1656 fp.write('\n') | 1656 fp.write('\n') |
| 1657 | 1657 |
| 1658 def main(): | 1658 def main(): |
| 1659 generate_all_tests(FYI_WATERFALL, True) | 1659 generate_all_tests(FYI_WATERFALL, True) |
| 1660 generate_all_tests(WATERFALL, False) | 1660 generate_all_tests(WATERFALL, False) |
| 1661 return 0 | 1661 return 0 |
| 1662 | 1662 |
| 1663 if __name__ == "__main__": | 1663 if __name__ == "__main__": |
| 1664 sys.exit(main()) | 1664 sys.exit(main()) |
| OLD | NEW |