diff options
| author | Michael Pratt <mcpratt@pm.me> | 2023-11-24 05:10:12 -0500 |
|---|---|---|
| committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-01-05 16:25:14 +0100 |
| commit | fd3376c5eeccc1f1753483ed31ffff03808ce31d (patch) | |
| tree | 3dc4401809cb9259447076c978c68e3b1d0aaf4c /include | |
| parent | e4a43cda0efba562d0ed1973b584c21309040ccc (diff) | |
| download | upstream-fd3376c5eeccc1f1753483ed31ffff03808ce31d.tar.gz upstream-fd3376c5eeccc1f1753483ed31ffff03808ce31d.tar.bz2 upstream-fd3376c5eeccc1f1753483ed31ffff03808ce31d.zip | |
build: ensure silent Make behavior for json scripts
Run the invocation of Make with verbosity in order to
prevent the printing of Makefile level and subtarget status.
e.g. make[3] -C target/linux val.DEFAULT_PACKAGES val.ARCH_PACKAGES
Remove piping of stderr, which is only useful when using
the "communicate" method over the "run" method,
and this script would not be written to handle a captured error anyway.
For error testing, stdout and stderr can be set to a file object
with the open() function like this:
out = open('json_out', 'w')
err = open('json_err', 'w')
...
...
stdout=out,
stderr=err,
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
