commit | 70ba43b50112cfb09ab32debb72f4bfd71045736 | [log] [tgz] |
---|---|---|
author | Ben <benlawson@google.com> | Tue Sep 26 00:14:24 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 26 00:14:24 2023 +0000 |
tree | 7177833c59fb685bd401e608a1f39469d1b0c3c1 | |
parent | a836c804dc553983816f053ff500b2e0cee63c75 [diff] |
pw_unit_test: Add pw_unit_test_TESTONLY build arg Add pw_unit_test_TESTONLY build argument that controls the testonly variable in pw_test, pw_test_group, and miscellaneous test targets. This is required to support pw_unit_test_GOOGLETEST_BACKEND and pw_unit_test_MAIN arguments configured with a testonly target. This argument is false by default to avoid breaking existing clients. Bug: 234873207 Test: built with Fuchsia, which has a testonly googletest target Change-Id: I73d4cd69286b0173dbe4b5b361cdd9c4b16d59f7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/171970 Reviewed-by: Aaron Green <aarongreen@google.com> Commit-Queue: Ben Lawson <benlawson@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/.