aboutsummaryrefslogtreecommitdiff
path: root/pw_build/py/build_recipe_test.py
diff options
context:
space:
mode:
authorEli Lipsitz <elipsitz@google.com>2023-01-23 23:17:22 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-23 23:17:22 +0000
commit9f8288e1a29392e9d96c221d6a4b03b254c88c92 (patch)
tree2fb7eb6f95bfb29fcfe99ca3335bfc4338b816ff /pw_build/py/build_recipe_test.py
parentd723bef3ae5735b0e4c0511181a86793265d1e40 (diff)
downloadpigweed-9f8288e1a29392e9d96c221d6a4b03b254c88c92.tar.gz
pw_build: Dump running actions in pw-wrap-ninja on SIGTERM
This commit updates the pw-wrap-ninja script to catch a SIGTERM and gracefully terminate after printing a list of still-running actions. This is primarily intended for use in CI (to see an easily digestible view of running actions on a timeout). Tested: Ran pw-wrap-ninja. While running, sent a SIGTERM with `kill`, and observed that it printed 'Got SIGTERM', Ninja gracefully stopped, and a list of running actions was printed. Change-Id: I5054d184b433a243ad86cb3493935b268c479504 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126677 Commit-Queue: Eli Lipsitz <elipsitz@google.com> Reviewed-by: Rob Mohr <mohrr@google.com>
Diffstat (limited to 'pw_build/py/build_recipe_test.py')
0 files changed, 0 insertions, 0 deletions