commit | 9f8288e1a29392e9d96c221d6a4b03b254c88c92 | [log] [tgz] |
---|---|---|
author | Eli Lipsitz <elipsitz@google.com> | Mon Jan 23 23:17:22 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 23 23:17:22 2023 +0000 |
tree | 2fb7eb6f95bfb29fcfe99ca3335bfc4338b816ff | |
parent | d723bef3ae5735b0e4c0511181a86793265d1e40 [diff] |
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>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.