diff options
Diffstat (limited to 'scripts/kconfig/tests/auto_submenu/__init__.py')
-rw-r--r-- | scripts/kconfig/tests/auto_submenu/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/auto_submenu/__init__.py b/scripts/kconfig/tests/auto_submenu/__init__.py new file mode 100644 index 000000000..32e79b85f --- /dev/null +++ b/scripts/kconfig/tests/auto_submenu/__init__.py @@ -0,0 +1,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') |