commit | 01b7bd968623539cb27dd58e06977400ecedd42e | [log] [tgz] |
---|---|---|
author | Eli Lipsitz <elipsitz@google.com> | Tue Jan 17 23:42:01 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 17 23:42:01 2023 +0000 |
tree | 1fa2f7f1e93c67b6166c8f54763114bbf0f759b5 | |
parent | 6af9dbfe17e0ddc004eb75ee00b0e0903757fd23 [diff] |
pw_build: Capture Ninja error output in pw-wrap-ninja If Ninja is invoked with invalid arguments, it prints an error to stderr and exits. Previously, this would lead to confusing output in pw-wrap-ninja (0/0 targets built, but no error). This commit fixes the issue by capturing stderr as well, and ensures that the UI gets a chance to update at least once, even if Ninja exits quickly. Change-Id: I6b463a944226d061b64225fe11f67d618493fac0 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126102 Pigweed-Auto-Submit: Eli Lipsitz <elipsitz@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Chad Norvell <chadnorvell@google.com> Commit-Queue: Eli Lipsitz <elipsitz@google.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/.