From f6eb4f435bc594aa58b8f8c066a9e2243c5c8330 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 22 Jun 2018 05:15:46 +0200 Subject: Add Symbol/Choice.referenced() convenience methods Returns the union of the MenuNode.referenced() sets for all the menu nodes of the symbol/choice. --- testsuite.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index bbb4c37..8f93c81 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1009,7 +1009,7 @@ g ) - print("Testing MenuNode.referenced()") + print("Testing MenuNode/Symbol/Choice.referenced()") c = Kconfig("Kconfiglib/tests/Kreferenced", warn=False) @@ -1035,6 +1035,9 @@ g verify_deps(c.comments[0], "A", "B") + verify_deps(c.syms["MULTI_DEF_SYM"], "A", "B", "C", "y") + verify_deps(c.named_choices["MULTI_DEF_CHOICE"], "A", "B", "C") + print("Testing split_expr()") -- cgit v1.2.3