aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWill Chen <[email protected]>2020-07-08 14:35:43 -0700
committerShuah Khan <[email protected]>2020-07-17 14:13:19 -0600
commit5a9fcad71caa970f30aef99134a1cd19bc4b8eea (patch)
treecafb7d42015047151c269285aa0d9fd794a49f20 /tools/perf/util/scripting-engines/trace-event-python.c
parent39f65da0920349deb2be14bf8c83490b8775e5d3 (diff)
kunit: capture stderr on all make subprocess calls
Direct stderr to subprocess.STDOUT so error messages get included in the subprocess.CalledProcessError exceptions output field. This results in more meaningful error messages for the user. This is already being done in the make_allyesconfig method. Do the same for make_mrproper, make_olddefconfig, and make methods. With this, failures on unclean trees [1] will give users an error message that includes: "The source tree is not clean, please run 'make ARCH=um mrproper'" [1] https://bugzilla.kernel.org/show_bug.cgi?id=205219 Signed-off-by: Will Chen <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Tested-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions