commit | 366b6489f34bfa140c48b2f4727c87593301e050 | [log] [tgz] |
---|---|---|
author | Sergiy Byelozyorov <[email protected]> | Mon Nov 06 18:20:43 2017 |
committer | Commit Bot <[email protected]> | Mon Nov 06 18:20:43 2017 |
tree | 77680f46f75533d73ceb8f487e6acc5f87977167 | |
parent | cda45ebc88a832ffd6900ff202db89b89caa9d16 [diff] [blame] |
Add VPython checks to Chromium presubmit These checks will validate the syntax and check that all specified packages exist. Checks will only run when .vpython files are modified. [email protected], [email protected] No-Try: true Bug: 777893 Change-Id: I57a3e2e178f2483f2b96506c11600100d932036d Reviewed-on: https://chromium-review.googlesource.com/753342 Commit-Queue: Sergiy Byelozyorov <[email protected]> Reviewed-by: Jochen Eisinger <[email protected]> Cr-Commit-Position: refs/heads/master@{#514182}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index a8e8bb2..02cb37a 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -2472,6 +2472,8 @@ results.extend(_CheckForRiskyJsFeatures(input_api, output_api)) results.extend(_CheckForRelativeIncludes(input_api, output_api)) results.extend(_CheckWATCHLISTS(input_api, output_api)) + results.extend(input_api.RunTests( + input_api.canned_checks.CheckVPythonSpec(input_api, output_api))) if any('PRESUBMIT.py' == f.LocalPath() for f in input_api.AffectedFiles()): results.extend(input_api.canned_checks.RunUnitTestsInDirectory(