Go to file
Alexei Frolov 925fb8f510 Build and run unit tests through GN
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
2019-11-08 01:16:04 +00:00
pw_build Compiler option updates 2019-11-07 10:51:32 -08:00
pw_preprocessor Build and run unit tests through GN 2019-11-08 01:16:04 +00:00
pw_status Add preprocessor and unit_test modules 2019-11-04 16:07:34 -08:00
pw_toolchain Compiler option updates 2019-11-07 10:51:32 -08:00
pw_unit_test Build and run unit tests through GN 2019-11-08 01:16:04 +00:00
.clang-format Add preprocessor and unit_test modules 2019-11-04 16:07:34 -08:00
.gitignore Initial Pigweed modules 2019-10-31 17:43:53 -07:00
.gn Initial Pigweed modules 2019-10-31 17:43:53 -07:00
AUTHORS
BUILD.gn Build and run unit tests through GN 2019-11-08 01:16:04 +00:00
BUILDCONFIG.gn Initial Pigweed modules 2019-10-31 17:43:53 -07:00
CONTRIBUTING.md
LICENSE
modules.gni Add preprocessor and unit_test modules 2019-11-04 16:07:34 -08:00
README.md

Pigweed embedded oriented software libraries

Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.

Pigweed is in the early stages of development.