summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-11 12:07:34 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-11 12:07:34 +0100
commit0eb086ab783048b84ce8e08f676c43a0542509ff (patch)
tree4f7a8d94b6c872c4d228c977ec4d2435a3ecf58d /tests
parent52745ee2f23470a9da73769f61847c8435eedd13 (diff)
Add selftests for is_optional().
Diffstat (limited to 'tests')
-rw-r--r--tests/Kmisc20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Kmisc b/tests/Kmisc
new file mode 100644
index 0000000..1673896
--- /dev/null
+++ b/tests/Kmisc
@@ -0,0 +1,20 @@
+# For testing various minor APIs
+
+# is_optional()
+
+choice NOT_OPTIONAL
+ bool "not optional"
+config A
+ bool "A"
+config B
+ bool "B"
+endchoice
+
+choice OPTIONAL
+ tristate "optional"
+ optional
+config C
+ tristate "C"
+config D
+ tristate "D"
+endchoice