Bug 205235

Summary: Improve error messages for kunit_tool when kunitconfig is invalid
Product: Tools Reporter: David Gow (davidgow)
Component: KUnitAssignee: Tools/KUnit virtual default assignee (tools_kunit)
Severity: normal CC: brendanhiggins
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: linux-kselftest/test Tree: Mainline
Regression: No

Description David Gow 2019-10-17 21:07:51 UTC
kunit_tool prints an error message when there are missing or wrong entries in the kunitconfig file.

Currently, this message is 'Error:root:Kconfig is not contained in validated .config!' which doesn't describe the issue particularly well.

We should consider improving the message, and possibly adding a list of the invalid entries.

Some of this was done in the old kunit/alpha/master branch in:
Comment 1 Brendan Higgins 2020-03-31 18:33:39 UTC
This fix was accepted a while ago: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=kunit&id=dde54b9492a8ba46bcd7e7e26172adf2bfcea817

David, can you close this?