commit | 472996cf6cd2b9281a1cc3cfb96f1505b20472f0 | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams-Whitehead <ajordanr@google.com> | Tue Jun 14 02:34:47 2022 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 15 17:14:31 2022 +0000 |
tree | f868f7466719003689f1231b8c2f9ad9d85e2436 | |
parent | 671cc1d5e9a9259cec9452144380f44b1f161032 [diff] |
llvm_tools: Unify patch json representation At present, I made a mistake where patch_utils expected certain keys to exist. However, the original patch_manager.py didn't. This was further broken by the fact that patch_sync.py would avoid serializing the 'platforms' field if empty, causing a back and forth between patch_utils.py and patch_sync. Update the unittests to match and verify we're doing the correct thing. BUG=None TEST=./patch_utils_unittest.py TEST=./patch_manager_unittest.py Change-Id: Ib02c9d552848831f395b006de9a28ea4292b82f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3704542 Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com>
toolchain-utils
Various 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.