PTU5KAS/tests/test_menu/Kconfig
Jan Kiszka 95df3720e1 tests: Add basic tests for menu plugin
This checks basic features of kas menu, some option selection, yaml
including, rebuilding and target selection.

The UI is operated by mocking smack's GridFormHelp.runOnce and some
result evaluation functions. Injecting keys from the keyboard was not
easily possibly (if at all), thus this approach. The menu rendering is
not shown due to pytest.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2021-10-09 15:02:22 +02:00

33 lines
428 B
Plaintext

config KAS_INCLUDE_MAIN
string
default "test.yaml"
config KAS_BUILD_SYSTEM
string
default "openembedded"
config BOOL_OPT1
bool "ppt1"
config KAS_INCLUDE_OPT1
string
default "opt1.yaml"
depends on BOOL_OPT1
choice
prompt "choice"
default CHOICE1
config CHOICE1
bool "choice1"
config CHOICE2
bool "choice2"
endchoice
config KAS_TARGET_CHOICE
string
default "target1" if CHOICE1
default "target2" if CHOICE2