summaryrefslogtreecommitdiff
path: root/tests/Kstr
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-24 12:14:31 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-24 13:08:12 +0200
commite81a77bdb0687b62f91d7dc4d5b84b443808c0a7 (patch)
tree339fa0fbd78cafed7e92b230a8931e3ab7a666ee /tests/Kstr
parente806f26a075ba52eca01567c7be7f0b4eba91df5 (diff)
Consistently put direct deps. last when propagating
Preparation for some later additions. Previously, the 'visible if' deps appeared to the right of the 'depends on' deps. Now, the direct deps always appear last. With this change, the prompt tuple is only updated once for any given menu node too, which should be a tiny bit faster.
Diffstat (limited to 'tests/Kstr')
-rw-r--r--tests/Kstr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Kstr b/tests/Kstr
index 25c14db..58d25e6 100644
--- a/tests/Kstr
+++ b/tests/Kstr
@@ -36,6 +36,7 @@ if DEP3
menu "foo"
depends on DEP4
+ visible if VIS
config ADVANCED
help
@@ -43,6 +44,10 @@ config ADVANCED
depends on A || !B || (C && D) || !(E && F) || G = H || \
(I && !J && (K || L) && !(M || N) && O = P)
+config ADVANCED
+ # Used to verify that the direct dependencies appear to the right of VIS
+ prompt "prompt 4"
+
endmenu
endif