kconfig: tests: check unneeded "is not set" with unmet dependency

Commit cb67ab2cd2 ("kconfig: do not write choice values when their
dependency becomes n") fixed a problem where "# CONFIG_... is not set"
for choice values are wrongly written into the .config file when they
are once visible, then become invisible later.

Add a test for this naive case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
This commit is contained in:
Masahiro Yamada
2018-03-13 18:12:07 +09:00
parent b76960c0f6
commit 930c429a65
4 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1 @@
CONFIG_A=y