summaryrefslogtreecommitdiff
path: root/tests/Kchoice
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-09 11:43:13 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-09 11:43:13 +0100
commit395c2db0e9761def8eb992e3e8068ba2d3ab179c (patch)
tree7b14ac791dbf9d4b9354f1c6149444e090068309 /tests/Kchoice
parent8c978ee0b9c0f7f8406f58d24478a73330512056 (diff)
parent4bffd653148d6fa1c8e626872ae4f445e2b0a24c (diff)
Make Kconfiglib 2 official
Merge in the 'kconfiglib-2-backup' branch.
Diffstat (limited to 'tests/Kchoice')
-rw-r--r--tests/Kchoice26
1 files changed, 24 insertions, 2 deletions
diff --git a/tests/Kchoice b/tests/Kchoice
index e80e222..f635ccc 100644
--- a/tests/Kchoice
+++ b/tests/Kchoice
@@ -141,17 +141,39 @@ choice WEIRD_SYMS
# Only WS1 is part of the choice
config WS1
+ bool "WS1"
+
config WS2
+ bool "WS2"
depends on WS1
+
config WS3
+ bool
depends on WS2
+
config WS4
+ bool
depends on WS1
-# 'if' has the same effect, so only WS5 is part of the choice
config WS5
-if WS5
+ bool "WS5" if WS1
+
+# 'if' has the same effect, so only WS6 is part of the choice
config WS6
+ bool "WS6"
+
+if WS6
+
+config WS7
+ bool
+
+config WS8
+ bool "WS8"
+
endif
+# Should also be part of the choice
+config WS9
+ bool "WS9"
+
endchoice