|author||George Burgess IV <firstname.lastname@example.org>||Tue Sep 15 12:29:02 2020 -0700|
|committer||George Burgess <email@example.com>||Tue Sep 15 23:30:16 2020 +0000|
llvm_tools: save intermediate state even if a step fails When uploading multiple crashes, a network error may happen (or anything else, really). This isn't going to save us from SIGKILLs or power-offs (it's impossible to save us 100% from either of those, since there's always going to be a race between writing the JSON file and submitting the test-case), but it should keep us from submitting duplicate crash reports in most cases. This also has us sort results from `gsutil ls`, since that may not always print things in a deterministic order. BUG=None TEST=Ran the script; ^C'ed it in the middle. Change-Id: I9695d83db6fb8161dc6fce16b13980c8eacf219d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2412482 Reviewed-by: Jian Cai <firstname.lastname@example.org> Tested-by: George Burgess <email@example.com>
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.