GNU Linux-libre 4.19.245-gnu1
[releases.git] / scripts / kconfig / tests / inter_choice / __init__.py
1 """
2 Do not affect user-assigned choice value by another choice.
3
4 Handling of state flags for choices is complecated.  In old days,
5 the defconfig result of a choice could be affected by another choice
6 if those choices interact by 'depends on', 'select', etc.
7
8 Related Linux commit: fbe98bb9ed3dae23e320c6b113e35f129538d14a
9 """
10
11
12 def test(conf):
13     assert conf.defconfig('defconfig') == 0
14     assert conf.config_contains('expected_config')