commit | 963e9bd4d97ba227c4283090b58b8b706eceff5d | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Mon Aug 22 19:55:11 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 22 19:55:11 2022 +0000 |
tree | 47b927becb6f3099483a65aa83eb2d9ef5e70aea | |
parent | 57456a4254640a7978fe8921084f070f20c607f8 [diff] |
pw_unit_test: Cleanup test processes properly on timeout When processes launched were killed due to timeout, their child processes were orphaned and left running. Add a trap to the test runner script to cleanup the test processes when terminated. Switch to using SIGTERM instead of SIGKILL to allow the script to catch and handle it. Change-Id: Ida60ae12a1c43c2701510a58ab56cba0629ae337 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107777 Reviewed-by: Ted Pudlik <tpudlik@google.com> Commit-Queue: Austin Foxley <afoxley@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/.