summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-02-16 10:05:16 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-02-16 10:10:34 +0100
commit2a88c0cc5707eb0761d87cfd2ca171ce687258fc (patch)
treed0fe39e73cb2eda12b8355f7cbc5854e9f5be83d /tests
parent30ff778e52d2cd74ce624348c44651982282f07d (diff)
Include direct deps. in Symbol/Choice.__str__()
Direct dependencies are significant for 'imply' even if the symbol has no properties, so they need to be included to get semantically equivalent output. Making the direct dependencies clear is helpful in general too, even if you can usually infer them from the properties they get propagated to.
Diffstat (limited to 'tests')
-rw-r--r--tests/Kstr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Kstr b/tests/Kstr
index d792f08..0948b11 100644
--- a/tests/Kstr
+++ b/tests/Kstr
@@ -33,10 +33,24 @@ menuconfig ADVANCED
prompt "prompt 3"
depends on DEP2
+if DEP3
+
+menu "foo"
+ depends on DEP4
+
config ADVANCED
help
second help text
+endmenu
+
+endif
+
+config ONLY_DIRECT_DEPS
+ int
+ depends on DEP1
+ depends on DEP2
+
config STRING
string
default "foo"