summaryrefslogtreecommitdiff
path: root/tests/Kassignable
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-03 06:13:23 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-03 06:14:43 +0100
commitd1ea825a1d9d8bfc9496926b6a800ad58581b09a (patch)
treef605a507aabd4686f4dfdd59729ac1914dd283cf /tests/Kassignable
parent882d5d671c2c0fcec914fd8ec66cf15122cb1fb6 (diff)
Add .assignable selftests for choice symbols
Diffstat (limited to 'tests/Kassignable')
-rw-r--r--tests/Kassignable34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/Kassignable b/tests/Kassignable
index e600a39..fe88abe 100644
--- a/tests/Kassignable
+++ b/tests/Kassignable
@@ -167,3 +167,37 @@ config M_IMP_M_VIS_TRI
config M_IMP_N_VIS_TRI
tristate "m-imp n-vis tri" if n
+
+
+# Symbols in y-mode choice
+
+choice Y_CHOICE
+ bool "y-mode choice"
+
+config Y_CHOICE_BOOL
+ bool "y-mode choice bool"
+
+config Y_CHOICE_TRISTATE
+ tristate "y-mode choice tristate"
+
+config Y_CHOICE_N_VIS_TRISTATE
+ tristate "y-mode choice tristate invisible" if n
+
+endchoice
+
+
+# Symbols in m/y-mode choice
+
+choice MY_CHOICE
+ tristate "m/y-mode choice"
+
+config MY_CHOICE_BOOL
+ bool "m/y-mode choice bool"
+
+config MY_CHOICE_TRISTATE
+ tristate "m/y-mode choice tristate"
+
+config MY_CHOICE_N_VIS_TRISTATE
+ tristate "m/y-mode choice tristate invisible" if n
+
+endchoice