summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-10-30 14:08:17 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-10-30 14:41:49 +0100
commit2bfd1f2a8983b5e556f2e3d9e6b6c0604bc08308 (patch)
tree303c541b1f8db0859063bf61048904a685f6b79b /testsuite.py
parent7d21266f42c80915a8df779e479f1114b18cbe6a (diff)
Have printing a menu node print the item
Handy and intuitive. Avoids having to go to .item all the time when experimenting, and provides Kconfig output for menus and comments. >>> print c.top_node menu "Linux/$ARCH $KERNELVERSION Kernel Configuration" >>> print c.top_node.list config SRCARCH string option env="SRCARCH" default "x86" >>> print c.top_node.list.next config 64BIT bool prompt "64-bit kernel" if ARCH = "x86" default ARCH != "i386" help Say yes to build a 64-bit kernel - formerly known as x86_64 Say no to build a 32-bit kernel - formerly known as i386 Piggyback escaping when printing the prompt of symbols and choices. They can contain " and \ as well.
Diffstat (limited to 'testsuite.py')
0 files changed, 0 insertions, 0 deletions