summaryrefslogtreecommitdiff
path: root/scripts/kconfig/tests/new_choice_with_dep/config
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-13 18:12:06 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-26 02:04:03 +0900
commitb76960c0f6b25d447a1493c4388defb9e8e76c63 (patch)
treed5f2fe0c6a19c2c609b93e119ea2badb6df02453 /scripts/kconfig/tests/new_choice_with_dep/config
parent49ac3c0c3aa3b7636961b72a40ddb03e6609f594 (diff)
kconfig: tests: test if new symbols in choice are asked
If new choice values are added with new dependency, and they become visible during user configuration, oldconfig should recognize them as (NEW), and ask the user for choice. This issue was fixed by commit 5d09598d488f ("kconfig: fix new choices being skipped upon config update"). This is a subtle corner case. Add a test case to avoid breakage. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Diffstat (limited to 'scripts/kconfig/tests/new_choice_with_dep/config')
-rw-r--r--scripts/kconfig/tests/new_choice_with_dep/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/new_choice_with_dep/config b/scripts/kconfig/tests/new_choice_with_dep/config
new file mode 100644
index 000000000000..47ef95d567fd
--- /dev/null
+++ b/scripts/kconfig/tests/new_choice_with_dep/config
@@ -0,0 +1,3 @@
+CONFIG_CHOICE_B=y
+# CONFIG_CHOICE_D is not set
+CONFIG_CHOICE_E=y