summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-27 22:22:37 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-05-27 22:33:47 +0200
commit94020beb311eb8a9db9e3b841e36c96b1b0f72dd (patch)
tree7c6fbb9aff566d0e38236a948afe12f39a8e8599 /testsuite.py
parent3e0930ca57cc6a57abf286404438be0a1d505c66 (diff)
Make Kconfig._choices public
Useful in various places outside the library, e.g. in the upcoming packaged allyesconfig implementation, and when generating documentation.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py
index 29d5860..9909e1e 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -2091,8 +2091,7 @@ def test_sanity(conf, arch, srcarch):
sym.type
sym.visibility
- # Cheat with internals
- for choice in conf._choices:
+ for choice in conf.choices:
for sym in choice.syms:
verify(sym.choice is choice,
"{0} is in choice.syms but 'sym.choice' is not the choice"