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
URL:
Keywords:
Depends on:
Blocks:
 
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


Attachments

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:
https://kunit.googlesource.com/linux/+/1996e6ba3efce20a6a64c527024acbd484db2f9d
and
https://kunit.googlesource.com/linux/+/f192c1881e0d58be78e30cb0fbc6c29968bc0c79%5E%21/#F0

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