| commit | 8663e9c4f02a052d49496112092f81c09532d78a | [log] [tgz] |
|---|---|---|
| author | Wyatt Hepler <hepler@google.com> | Wed Nov 20 13:58:29 2019 -0800 |
| committer | Wyatt Hepler <hepler@google.com> | Tue Nov 26 21:29:18 2019 +0000 |
| tree | 46a427852c5e527f6694b6f343e992e7ad744c36 | |
| parent | fe85de25cf7ee185cf3eff0fe76080f440db1f10 [diff] |
Add evaluated string outputs to the test framework
- Integrate StringBuilder with the test framework. Test failures print
"Actual: " followed by the evaluated values for the expression.
- Update SimplePrintingEventHandler to have the write function
optionally output the newline.
Example:
[ RUN ] Status.CompareToStatusCode
../../pw_status/status_test.cc:43: Failure
Expected: Status(Status::ABORTED) == Status(Status::DATA_LOSS)
Actual: ABORTED == DATA_LOSS
[ FAILED ]
Change-Id: I4bd6f63cfd903ce2dc4959a1491825e7e743a522
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.