| commit | 0e6ea5857a1309144338b2abbc059b0dbe46aa76 | [log] [tgz] |
|---|---|---|
| author | George Burgess IV <gbiv@google.com> | Tue Mar 25 13:07:18 2025 -0600 |
| committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 26 17:38:53 2025 -0700 |
| tree | a5bd43da9fdb7215695ffbc966a39d447c0792f4 | |
| parent | 916c67d284a7ef26113e7796c4fbf30e39461d73 [diff] |
llvm_tools: add lint_llvm_patches.py This checks for simple errors with PATCHES.json, and gets run during presubmits. BUG=b:406239688 TEST=Ran the script with: TEST= - malformed JSON TEST= - unused patch files TEST= - nonexistent patch files TEST=Also, checked `repo upload` output to verify the check gets run. Change-Id: Ic5a545855a11f6f2eed4b3029a50f116f814edad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/6394156 Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Tested-by: George Burgess <gbiv@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org>
toolchain-utilsVarious utilities used by the ChromeOS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help, or refer to the header of the script for more information.