summaryrefslogtreecommitdiff
path: root/tests/Klocation
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Klocation')
-rw-r--r--tests/Klocation33
1 files changed, 30 insertions, 3 deletions
diff --git a/tests/Klocation b/tests/Klocation
index e2e0c7c..e445deb 100644
--- a/tests/Klocation
+++ b/tests/Klocation
@@ -1,20 +1,47 @@
# Defined and referenced in multiple locations
config A
bool
-menu "foo"
+
+menu "menu 1"
depends on A
visible if A && NOT_DEFINED
+
+# Also defined in Klocation_included
choice B
- bool "b"
+ bool "b" if A
+
config C
bool "c"
+
config D
bool "d"
+
endchoice
+
config A
def_bool NOT_DEFINED
-comment "foo"
+
+comment "comment 1"
+
config E
bool "E" if A
depends on A
+
endmenu
+
+config FOO
+ string
+ option env="FOO"
+
+config BAR
+ string
+ default "_included"
+
+# Expands to "tests/Klocation_included"
+source "$FOO/Klocation$BAR"
+
+config I
+ int
+ range A 0
+ range 0 A
+ range 0 1 if A