third_party.pigweed.src/pw_build/py
Alexei Frolov 32d8b4dfbc
Hide output of pw_exec programs by default
This change updates the pw_exec GN template and wrapper script to hide
the output of the program unless it exits unsuccessfully.

Sample output:

20200103 13:40:06 ERR
20200103 13:40:06 ERR Command failed with exit code 2 in GN build.
20200103 13:40:06 ERR
20200103 13:40:06 ERR Build target:
20200103 13:40:06 ERR
20200103 13:40:06 ERR   pw_target_runner_client_pw_go_get
20200103 13:40:06 ERR
20200103 13:40:06 ERR Full command:
20200103 13:40:06 ERR
20200103 13:40:06 ERR   go got github.com/golang/protobuf/proto google.golang.org/grpc
20200103 13:40:06 ERR
20200103 13:40:06 ERR Process output:

go got: unknown command
Run 'go help' for usage.

20200103 13:40:06 ERR

Bug: 34
Change-Id: I7e7b2a6d359ecf1eeff6918d56defb909141cbfd
2020-01-03 14:15:39 -08:00
..
exec.py Hide output of pw_exec programs by default 2020-01-03 14:15:39 -08:00
host_tool.py
nop.py
null_backend.py
python_runner.py