centralize uses of FindChromeOSRootAbove(my_dir) This is a common pattern; make a single function for it. BUG=None TEST=ran `upload_llvm_testing_helper_cl.py --dry-run` Change-Id: I0cb164dbd6f69ff669ea0b01a3dc81d079263364 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5598412 Commit-Queue: George Burgess <gbiv@chromium.org> Reviewed-by: Bob Haarman <inglorion@chromium.org> Tested-by: 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.