OLD | NEW |
1 # Copyright 2013 The LUCI Authors. All rights reserved. | 1 # Copyright 2013 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
4 | 4 |
5 """Top-level presubmit script for appengine/components/. | 5 """Top-level presubmit script for appengine/components/. |
6 | 6 |
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for |
8 details on the presubmit API built into gcl. | 8 details on the presubmit API built into gcl. |
9 """ | 9 """ |
10 | 10 |
11 | 11 |
12 def FindAppEngineSDK(input_api): | 12 def FindAppEngineSDK(input_api): |
13 """Returns an absolute path to AppEngine SDK (or None if not found).""" | 13 """Returns an absolute path to AppEngine SDK (or None if not found).""" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 output.extend(input_api.RunTests(tests, parallel=True)) | 87 output.extend(input_api.RunTests(tests, parallel=True)) |
88 return output | 88 return output |
89 | 89 |
90 | 90 |
91 def CheckChangeOnUpload(input_api, output_api): | 91 def CheckChangeOnUpload(input_api, output_api): |
92 return CommonChecks(input_api, output_api) | 92 return CommonChecks(input_api, output_api) |
93 | 93 |
94 | 94 |
95 def CheckChangeOnCommit(input_api, output_api): | 95 def CheckChangeOnCommit(input_api, output_api): |
96 return CommonChecks(input_api, output_api) | 96 return CommonChecks(input_api, output_api) |
OLD | NEW |