commit | b34a154aaf2db318d776ea2a2ef231cb8cc6ef00 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Fri Nov 05 10:42:17 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 08 16:42:23 2021 +0000 |
tree | 34323f92cea191a0b9f83039370050d3b6b549c8 | |
parent | 4d33a9d4426cc3b4477cd9f682b82e00a9f864c0 [diff] |
pw_thread/sleep: Add tests for non-positive durations Adds unit tests for negative or zero length sleep durations. Change-Id: I26540d1a36dda504ed945f6a8870c206680ac900 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/67305 Commit-Queue: Ewout van Bekkum <ewout@google.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Keir Mierle <keir@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/