Bug 205235 - Improve error messages for kunit_tool when kunitconfig is invalid
Summary: Improve error messages for kunit_tool when kunitconfig is invalid
Status: NEW
Alias: None
Product: Tools
Classification: Unclassified
Component: KUnit (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Tools/KUnit virtual default assignee
Depends on:
Reported: 2019-10-17 21:07 UTC by David Gow
Modified: 2019-10-18 22:28 UTC (History)
1 user (show)

See Also:
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:

Note You need to log in before you can comment on or make changes to this bug.