mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 06:12:09 +00:00
925fb8f510
This change adds a GN template for defining unit test executables. The template, called pw_test, defines the executable and outputs a JSON metadata file for the test. A new build argument is added. This argument determines whether unit test run targets are supported by the current build target. If this is set, the pw_test template additionally creates a run target for its test executable which invokes the executable through a script. A basic test runner script is added to the pw_unit_test module. This script currently only runs a single test executable directly. The unit tests in the pw_preprocessor module are updated to use the pw_test template. Change-Id: I3cbde9c19440276dbab80dd2bab5fec87abe6d7e |
||
---|---|---|
.. | ||
test_runner.py |