commit | 4d7fc8e9e7085e4b45d3d72ceee730d1fbfa34ca | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Dec 20 00:26:55 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 20 00:26:55 2022 +0000 |
tree | c1b4bf8351b0abfd23458517bd74268f8487fcdf | |
parent | cbb0ee9d0f73822301ff63abcc0b5502f3b4c10d [diff] |
pw_presubmit: Only add colors just before printing Only add colors to the output of 'pw format' immediately before printing. Don't pass around data structures with color codes. This makes it easier to create failure-summary.log. Also, include all diffs from format in failure-summary.log. Recipe code already has logic to truncate it, no need to repeat that here. Bug: b/262262623 Change-Id: Ifa9616ea17826efe51e363c824e4da2438fbe2af Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/124950 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.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/.