diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-25 20:24:11 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-25 20:42:44 +0200 |
| commit | 5f3d307155f4db035b652738e9fc49ad8be0c792 (patch) | |
| tree | 3c5d4d3322a7d8bf0e2c5a7f9f7f0243b8860cfb /tests/empty | |
| parent | 58e05c00ab0a762866e3719974d5b74096df233c (diff) | |
Fix 'default' on non-visible choice symbols
Previously, 'default CHOICE_SYM [if <cond>]' in a choice would skip any
following 'default' properties if <cond> was non-'n'. However, those
other defaults should still be considered if CHOICE_SYM has visibility
'n'. Previously, we'd immediately fall back to selecting the first
visible symbol in the choice in that case.
get_selection_from_defaults() now exactly mirrors sym_choice_default()
from the C implementation, and got less convoluted too.
Nothing in the kernel defconfigs triggered this.
Add a new test case too.
Diffstat (limited to 'tests/empty')
0 files changed, 0 insertions, 0 deletions
