commit | 17e3417a74749bc2c554d7214297a0866d729de9 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Wed Dec 06 18:15:42 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 06 18:15:42 2023 +0000 |
tree | f75044027ada37705cd55ae19f5b4dda619db3b2 | |
parent | 70b05788999ebb5298edc6551ca99aa95e4524db [diff] |
pw_unit_test: Create facade's header - Introduce a framework header for the pw_unit_test facade instead of using gtest/gtest.h as a facade. This header provides the macros defined by gtest/gtest.h that are also supported in pigweed. - Replace pw_unit_test_GOOGLETEST_BACKEND for pw_unit_test_BACKEND, which points to either pw_unit_test:light or pw_unit_test:googletest. - Provide a pw_unit_test:googletest framework backend that implements the framework facade using GoogleTest. This will be needed when including gtest/gtest.h or any GoogleTest header directly. Test: compile with and without googletest backend. Bug: 309665550 Change-Id: I9405b24b21fc7946e7a002e1cff9f9c87795ced4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/183194 Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.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/.