drm/panfrost: Remove set but not used variable 'bo'
[linux/fpc-iii.git] / scripts / kconfig / tests / rand_nested_choice / __init__.py
blob9e4b2db53581ed305a9faf291fb16e5597b731b5
1 # SPDX-License-Identifier: GPL-2.0
2 """
3 Set random values recursively in nested choices.
5 Kconfig can create a choice-in-choice structure by using 'if' statement.
6 randconfig should correctly set random choice values.
8 Related Linux commit: 3b9a19e08960e5cdad5253998637653e592a3c29
9 """
12 def test(conf):
13 for i in range(20):
14 assert conf.randconfig() == 0
15 assert (conf.config_contains('expected_stdout0') or
16 conf.config_contains('expected_stdout1') or
17 conf.config_contains('expected_stdout2'))