Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / scripts / kconfig / tests / auto_submenu / __init__.py
1 # SPDX-License-Identifier: GPL-2.0
2 """
3 Create submenu for symbols that depend on the preceding one.
4
5 If a symbols has dependency on the preceding symbol, the menu entry
6 should become the submenu of the preceding one, and displayed with
7 deeper indentation.
8 """
9
10
11 def test(conf):
12     assert conf.oldaskconfig() == 0
13     assert conf.stdout_contains('expected_stdout')