commit | 53e94c67872dbf9d65425f56671e023a87105634 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Jan 24 10:46:11 2025 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 24 10:46:11 2025 -0800 |
tree | 9f98f9ed0404cf6a2003d1f4cec1d5caf8a489f8 | |
parent | 574a7d87cd960e0f24b93170f79ed53d528cabb6 [diff] |
pw_trace_tokenized: Do not depend on line numbers in test trace_test.cc previously tested that traces occurred on specific line numbers, which is fragile. Superficial changes to the test source can cause non-obvious failures. Use the #line directive to set __LINE__ to a known value instead. Change-Id: I57a262ca77fc3e350018eacc2a19966b91fea09b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/262337 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Docs-Not-Needed: Wyatt Hepler <hepler@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Alexei Frolov <frolv@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@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/.