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