diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-14 12:00:44 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-14 18:42:01 +0200 |
| commit | fbf31fac751c0d76d2f55a0fe649ade5bafed292 (patch) | |
| tree | bd803ae1f8651a57e7d7a53f2b9757baf757e624 /testsuite.py | |
| parent | c8801514d63aaa6ad78ee62930ca5160fb52f74a (diff) | |
Fix MenuNode.referenced() on Kconfig.top_node
The property lists weren't created for Kconfig.top_node, making
referenced() crash.
Add a MenuNode constructor and create the property lists there instead
of in _parse_properties().
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite.py b/testsuite.py index c773b99..6d27040 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1017,6 +1017,8 @@ g verify_equal(tuple(sorted(item.name for item in item.referenced())), dep_names) + verify_deps(c.top_node, "y") + verify_deps(c.syms["NO_REFS"].nodes[0], "y") verify_deps(c.syms["JUST_DEPENDS_ON_REFS"].nodes[0], "A", "B") |
