| 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 isolateserver. | 5 """Top-level presubmit script for isolateserver. |
| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 output.extend(input_api.RunTests(tests, parallel=True)) | 81 output.extend(input_api.RunTests(tests, parallel=True)) |
| 82 return output | 82 return output |
| 83 | 83 |
| 84 | 84 |
| 85 def CheckChangeOnUpload(input_api, output_api): | 85 def CheckChangeOnUpload(input_api, output_api): |
| 86 return CommonChecks(input_api, output_api) | 86 return CommonChecks(input_api, output_api) |
| 87 | 87 |
| 88 | 88 |
| 89 def CheckChangeOnCommit(input_api, output_api): | 89 def CheckChangeOnCommit(input_api, output_api): |
| 90 return CommonChecks(input_api, output_api) | 90 return CommonChecks(input_api, output_api) |
| OLD | NEW |