Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 """
0003 Do not affect user-assigned choice value by another choice.
0004 
0005 Handling of state flags for choices is complecated.  In old days,
0006 the defconfig result of a choice could be affected by another choice
0007 if those choices interact by 'depends on', 'select', etc.
0008 
0009 Related Linux commit: fbe98bb9ed3dae23e320c6b113e35f129538d14a
0010 """
0011 
0012 
0013 def test(conf):
0014     assert conf.defconfig('defconfig') == 0
0015     assert conf.config_contains('expected_config')