pw_build: Add a `test_main` param to `pw_cc_test` This adds an optional `test_main` param to the Bazel `pw_cc_test` target that can be used to override the hard coded usage of `pw_unit_test:main`. Fixes: 337277617 Change-Id: I537761ce795a6ed9f5ca6fcd927e88bd0c567de5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/206851 Reviewed-by: Wyatt Hepler <hepler@google.com> Reviewed-by: Ted Pudlik <tpudlik@google.com> Commit-Queue: Eric Rahm <erahm@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.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/.