commit | be528176c1b17e5e296922eefd80c34506d3312c | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams-Whitehead <ajordanr@google.com> | Fri Oct 14 23:10:09 2022 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 14 23:51:37 2022 +0000 |
tree | 2eaee1c421893448d839d05e2dd9c93e7ce789b7 | |
parent | b20b2304b692de6a423acb0035303d53c4ee3e3d [diff] |
llvm_tools: Fix patch_utils patch writing There were two bugs with patch_utils here: 1. When deciding to modify patches, it didn't ignore old patches. 2. When writing out changes, it wrote the dicts out in the wrong order. Both of these issues have been resolved. BUG=b:253660089 TEST=./patch_utils_unittest.py TEST=./patch_manager_unittest.py TEST=./update_chromeos_llvm_hash_unittest.py TEST=./update_chromeos_llvm_hash.py TEST=./update_chromeos_llvm_hash.py \ --is_llvm_next \ --llvm_version tot \ --failure_mode disable_patches Change-Id: If25c30ffa2bea55aeafb8d03aa19c5fc07fb4b7b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3956311 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com> 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.