commit | bc16e2fb4ddcefcfb6c16816249c4b864a2a65a7 | [log] [tgz] |
---|---|---|
author | Jian Cai <jiancai@google.com> | Fri May 14 17:07:46 2021 -0700 |
committer | Jian Cai <jiancai@google.com> | Sat May 15 00:49:16 2021 +0000 |
tree | 3ba533ff6edeb24d740b7f55b7d03c2b41d0ef6c | |
parent | d8f873694e5091bad5ea8c8e3bddf4a17f064384 [diff] |
llvm_tool: make either --sha or --differential required. This fixed the following error when only --sha or --differential is used. TypeError: can only concatenate list (not "NoneType") to list BUG=b:187554374 TEST=get_upstream_patch.py --chroot_path <chroot> --start llvm --sha <sha> TEST=get_upstream_patch.py --chroot_path <chroot> --start llvm --differential <rev> TEST=get_upstream_patch.py --chroot_path <chroot> --start llvm Change-Id: Ie50e1c081a6a41859d7e4db7a2d815e48b84fa3d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2898172 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Jian Cai <jiancai@google.com>
toolchain-utils
Various utilities used by the Chrome OS 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.