4 The handling of 'choice' is a bit complicated part in Kconfig.
6 The behavior of 'y' choice is intuitive. If choice values are tristate,
7 the choice can be 'm' where each value can be enabled independently.
8 Also, if a choice is marked as 'optional', the whole choice can be
13 def test_oldask0(conf):
14 assert conf.oldaskconfig() == 0
15 assert conf.stdout_contains('oldask0_expected_stdout')
18 def test_oldask1(conf):
19 assert conf.oldaskconfig('oldask1_config') == 0
20 assert conf.stdout_contains('oldask1_expected_stdout')
23 def test_allyes(conf):
24 assert conf.allyesconfig() == 0
25 assert conf.config_contains('allyes_expected_config')
28 def test_allmod(conf):
29 assert conf.allmodconfig() == 0
30 assert conf.config_contains('allmod_expected_config')
34 assert conf.allnoconfig() == 0
35 assert conf.config_contains('allno_expected_config')
38 def test_alldef(conf):
39 assert conf.alldefconfig() == 0
40 assert conf.config_contains('alldef_expected_config')