linux_dsm_epyc7002/tools/testing/kunit
Will Chen 5a9fcad71c 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 <chenwi@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-07-17 14:13:19 -06:00
..
configs kunit: Run all KUnit tests through allyesconfig 2020-03-20 16:17:39 -06:00
test_data kunit: tool: add missing test data file content 2020-03-26 14:11:12 -06:00
.gitattributes kunit: kunit_parser: make parser more robust 2020-03-20 16:15:57 -06:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit_config.py kunit: kunit_tool: Allow .kunitconfig to disable config items 2020-03-25 12:13:16 -06:00
kunit_kernel.py kunit: capture stderr on all make subprocess calls 2020-07-17 14:13:19 -06:00
kunit_parser.py kunit: subtests should be indented 4 spaces according to TAP 2020-03-26 14:08:41 -06:00
kunit_tool_test.py kunit: kunit_tool: Separate out config/build/exec/parse 2020-05-11 16:53:40 -06:00
kunit.py kunit: Fix TabError, remove defconfig code and handle when there is no kunitconfig 2020-06-01 14:14:07 -06:00