summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-16 06:58:54 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-10-16 07:35:53 +0200
commit98af94da6a9ef81c8e2c56fbf60741fa8d2a2dd1 (patch)
tree51a977d2317fbeb7653d6dfe8fbf32baded7eb39 /testsuite.py
parent553985a985c6aa4d5f9119223ac7fe23b83d5b3c (diff)
Make Kconfig.choices match its description
Kconfig.choices has accidentally been identical to Kconfig.unique_choices all along, because named choices defined in multiple locations (which are pretty obscure) were only added once. Fix Kconfig.choices to match its description. This simplifies the code a bit too. Kconfig.unique_choices is usually what you want.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite.py b/testsuite.py
index c027189..782f3ed 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -1185,7 +1185,7 @@ tests/Krecursive2:1
"Wrong prompt for {}, expected '{}'"
.format(repr(item), expected_prompt))
- verify_prompts(c.choices, "choice 1", "choice 2", "choice 3")
+ verify_prompts(c.choices, "choice 1", "choice 2", "choice 3", "choice 2")
verify_prompts(c.menus, "menu 1", "menu 2", "menu 3", "menu 4", "menu 5")
verify_prompts(c.comments, "comment 1", "comment 2", "comment 3")