From 2a88c0cc5707eb0761d87cfd2ca171ce687258fc Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 16 Feb 2018 10:05:16 +0100 Subject: 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. --- testsuite.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index ad32070..fba897a 100644 --- a/testsuite.py +++ b/testsuite.py @@ -524,12 +524,20 @@ config ADVANCED menuconfig ADVANCED prompt "prompt 3" if DEP2 + depends on DEP2 config ADVANCED + depends on DEP4 && DEP3 help second help text """) + verify_str(c.syms["ONLY_DIRECT_DEPS"], """ +config ONLY_DIRECT_DEPS + int + depends on DEP1 && DEP2 +""") + verify_str(c.syms["STRING"], """ config STRING string -- cgit v1.2.3