summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Kassignable105
1 files changed, 105 insertions, 0 deletions
diff --git a/tests/Kassignable b/tests/Kassignable
new file mode 100644
index 0000000..97cb322
--- /dev/null
+++ b/tests/Kassignable
@@ -0,0 +1,105 @@
+config MODULES
+ bool "modules"
+ option modules
+
+
+# Things that should never be .assignable
+
+if UNDEFINED && "const"
+endif
+
+config NO_PROMPT
+
+config STRING
+ string "string"
+
+config INT
+ int "int"
+
+config HEX
+ hex "hex"
+
+
+# Non-selected symbols
+
+config Y_VIS_BOOL
+ bool "y-vis bool"
+
+config M_VIS_BOOL
+ bool "m-vis bool" if m
+
+config N_VIS_BOOL
+ bool "n-vis bool" if n
+
+config Y_VIS_TRI
+ tristate "y-vis tri"
+
+config M_VIS_TRI
+ tristate "m-vis tri" if m
+
+config N_VIS_TRI
+ tristate "n-vis tri" if n
+
+
+# Symbols selected to y
+
+config Y_SELECTOR
+ def_tristate y
+
+ select Y_SEL_Y_VIS_BOOL
+ select Y_SEL_M_VIS_BOOL
+ select Y_SEL_N_VIS_BOOL
+
+ select Y_SEL_Y_VIS_TRI
+ select Y_SEL_M_VIS_TRI
+ select Y_SEL_N_VIS_TRI
+
+config Y_SEL_Y_VIS_BOOL
+ bool "y-sel y-vis bool"
+
+config Y_SEL_M_VIS_BOOL
+ bool "y-sel m-vis bool" if m
+
+config Y_SEL_N_VIS_BOOL
+ bool "y-sel n-vis bool" if n
+
+config Y_SEL_Y_VIS_TRI
+ tristate "y-sel y-vis tri"
+
+config Y_SEL_M_VIS_TRI
+ bool "y-sel m-vis tri" if m
+
+config Y_SEL_N_VIS_TRI
+ bool "y-sel n-vis tri" if n
+
+
+# Symbols selected to m
+
+config M_SELECTOR
+ def_tristate m
+
+ select M_SEL_Y_VIS_BOOL
+ select M_SEL_M_VIS_BOOL
+ select M_SEL_N_VIS_BOOL
+
+ select M_SEL_Y_VIS_TRI
+ select M_SEL_M_VIS_TRI
+ select M_SEL_N_VIS_TRI
+
+config M_SEL_Y_VIS_BOOL
+ bool "m-sel y-vis bool"
+
+config M_SEL_M_VIS_BOOL
+ bool "m-sel m-vis bool" if m
+
+config M_SEL_N_VIS_BOOL
+ bool "m-sel n-vis bool" if n
+
+config M_SEL_Y_VIS_TRI
+ tristate "m-sel y-vis tri"
+
+config M_SEL_M_VIS_TRI
+ tristate "m-sel m-vis tri" if m
+
+config M_SEL_N_VIS_TRI
+ tristate "m-sel n-vis tri" if n