From e81a77bdb0687b62f91d7dc4d5b84b443808c0a7 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 24 May 2019 12:14:31 +0200 Subject: 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. --- testsuite.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index 175d278..c1690d3 100644 --- a/testsuite.py +++ b/testsuite.py @@ -554,6 +554,11 @@ config ADVANCED depends on (A || !B || (C && D) || !(E && F) || G = H || (I && !J && (K || L) && !(M || N) && O = P)) && DEP4 && DEP3 help second help text + +config ADVANCED + tristate + prompt "prompt 4" if VIS && DEP4 && DEP3 + depends on DEP4 && DEP3 """) verify_custom_str(c.syms["ADVANCED"], """ @@ -582,6 +587,11 @@ config ADVANCED depends on ([A] || ![B] || ([C] && [D]) || !([E] && [F]) || [G] = [H] || ([I] && ![J] && ([K] || [L]) && !([M] || [N]) && [O] = [P])) && [DEP4] && [DEP3] help second help text + +config ADVANCED + tristate + prompt "prompt 4" if [VIS] && [DEP4] && [DEP3] + depends on [DEP4] && [DEP3] """) -- cgit v1.2.3