summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/auto_submenu/__init__.py
blob: 32e79b85faebcf27a7b605db04ffb66ac098a38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""
Create submenu for symbols that depend on the preceding one.

If a symbols has dependency on the preceding symbol, the menu entry
should become the submenu of the preceding one, and displayed with
deeper indentation.
"""


def test(conf):
    assert conf.oldaskconfig() == 0
    assert conf.stdout_contains('expected_stdout')