summaryrefslogtreecommitdiff
path: root/tests/Krepr
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/Krepr
parent8c978ee0b9c0f7f8406f58d24478a73330512056 (diff)
parent4bffd653148d6fa1c8e626872ae4f445e2b0a24c (diff)
Make Kconfiglib 2 official
Merge in the 'kconfiglib-2-backup' branch.
Diffstat (limited to 'tests/Krepr')
-rw-r--r--tests/Krepr61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/Krepr b/tests/Krepr
new file mode 100644
index 0000000..5a5b8b8
--- /dev/null
+++ b/tests/Krepr
@@ -0,0 +1,61 @@
+config MODULES
+ bool
+ option modules
+ default y
+
+if UNDEFINED
+endif
+
+config BASIC
+ bool
+ default y
+ help
+
+config VISIBLE
+ bool "visible"
+
+config DIR_DEP_N
+ depends on n
+
+config OPTIONS
+ option allnoconfig_y
+ option defconfig_list
+ option env="ENV"
+
+config MULTI_DEF
+config MULTI_DEF
+
+menuconfig MENUCONFIG
+
+choice CHOICE
+ tristate "choice"
+
+config CHOICE_1
+ tristate "choice sym"
+
+config CHOICE_2
+ tristate "choice sym"
+
+endchoice
+
+config CHOICE_HOOK
+
+choice
+ tristate "optional choice" if n
+ optional
+endchoice
+
+config NO_VISIBLE_IF_HOOK
+
+menu "no visible if"
+endmenu
+
+config VISIBLE_IF_HOOK
+
+menu "visible if"
+ visible if m
+endmenu
+
+config COMMENT_HOOK
+
+comment "comment"