Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 """
0003 Hide tristate choice values with mod dependency in y choice.
0004 
0005 If tristate choice values depend on symbols set to 'm', they should be
0006 hidden when the choice containing them is changed from 'm' to 'y'
0007 (i.e. exclusive choice).
0008 
0009 Related Linux commit: fa64e5f6a35efd5e77d639125d973077ca506074
0010 """
0011 
0012 
0013 def test(conf):
0014     assert conf.oldaskconfig('config', 'y') == 0
0015     assert conf.config_contains('expected_config')
0016     assert conf.stdout_contains('expected_stdout')