Author: quozl Date: Fri Mar 9 00:08:57 2012 New Revision: 2890 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2890
Log: OLPC - autorun-mfg-tests showed uninitialised menu items, fix #11688
Modified: cpu/x86/pc/olpc/via/mfgtest.fth
Modified: cpu/x86/pc/olpc/via/mfgtest.fth ============================================================================== --- cpu/x86/pc/olpc/via/mfgtest.fth Mon Mar 5 06:37:00 2012 (r2889) +++ cpu/x86/pc/olpc/via/mfgtest.fth Fri Mar 9 00:08:57 2012 (r2890) @@ -167,10 +167,14 @@
defer test-menu-items
-: full-menu ( -- ) +: tiny-menu ( -- ) init-menu clear-menu test-menu-items +; + +: full-menu ( -- ) + tiny-menu
" Run all non-interactive tests. (Press a key between tests to stop.)" ['] play-item play.icon 0 1 selected install-icon @@ -183,11 +187,10 @@ ' noop to do-title
: autorun-mfg-tests ( -- ) - init-menu ['] run-menu behavior >r ['] mfg-test-autorunner to run-menu \ Run menu automatically true to diag-switch? - ['] test-menu-items ['] nest-menu catch drop + ['] tiny-menu ['] nest-menu catch drop r> to run-menu false to diag-switch? restore-scroller-bg