OLD | NEW |
1 # Copyright 2014 The LUCI Authors. All rights reserved. | 1 # Copyright 2014 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 auth server. | 5 """Top-level presubmit script for auth server. |
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 output.extend(input_api.RunTests(tests, parallel=True)) | 83 output.extend(input_api.RunTests(tests, parallel=True)) |
84 return output | 84 return output |
85 | 85 |
86 | 86 |
87 def CheckChangeOnUpload(input_api, output_api): | 87 def CheckChangeOnUpload(input_api, output_api): |
88 return CommonChecks(input_api, output_api) | 88 return CommonChecks(input_api, output_api) |
89 | 89 |
90 | 90 |
91 def CheckChangeOnCommit(input_api, output_api): | 91 def CheckChangeOnCommit(input_api, output_api): |
92 return CommonChecks(input_api, output_api) | 92 return CommonChecks(input_api, output_api) |
OLD | NEW |