aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/custom_script_example.py
AgeCommit message (Collapse)Author
2020-02-13toolchain-utils: migrate all in-use projects to python 3Zhizhou Yang
This patch migrates all in-use projects left to python 3. BUG=chromium:1011676 TEST=Passed unittests and launched scripts manually. Change-Id: I7f2de4e1131c05bacfac80667f3064da8adaebfd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2051397 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Zhizhou Yang <zhizhouy@google.com> Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
2019-09-04LLVM tools: Added a simple custom script exampleSalud Lemus
This custom script determines what to set the tryjob's 'status' to based off of the script's exit code. BUG=None TEST=Ran the 'update_tryjob_status.py' script with `--custom_script` and `--set_status custom_script` option. Used the absolute path to this script for `--custom_script`. The tryjob's 'status' was updated correctly based off of the exit code by the custom script. Change-Id: Ib4fe58406ba6f9c9cb0cdc9dcc3e7d5e9bb18fb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1783838 Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Salud Lemus <saludlemus@google.com>