diff options
author | David Gow <davidgow@google.com> | 2020-03-24 05:43:33 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-03-25 21:13:16 +0300 |
commit | 97752c39bdaeea990260d3111250f6c861519808 (patch) | |
tree | b34d435bc112185ebb8717194d9f99015d313ce2 /Documentation/memory-barriers.txt | |
parent | 2d68df6cc4bf5822d78cd0f067174d6e29a2f739 (diff) | |
download | linux-97752c39bdaeea990260d3111250f6c861519808.tar.xz |
kunit: kunit_tool: Allow .kunitconfig to disable config items
Rework kunit_tool in order to allow .kunitconfig files to better enforce
that disabled items in .kunitconfig are disabled in the generated
.config.
Previously, kunit_tool simply enforced that any line present in
.kunitconfig was also present in .config, but this could cause problems
if a config option was disabled in .kunitconfig, but not listed in .config
due to (for example) having disabled dependencies.
To fix this, re-work the parser to track config names and values, and
require values to match unless they are explicitly disabled with the
"CONFIG_x is not set" comment (or by setting its value to 'n'). Those
"disabled" values will pass validation if omitted from the .config, but
not if they have a different value.
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions