Changeset 2475
- Timestamp:
- Aug 22, 2011 12:20:17 PM (21 months ago)
- File:
-
- 1 edited
-
cpu/x86/pc/olpc/via/mfgtest.fth (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/x86/pc/olpc/via/mfgtest.fth
r2359 r2475 103 103 104 104 d# 15 value #mfgtests 105 d# 5 value #mfgcols 105 106 106 107 : mfg-test-autorunner ( -- ) \ Unattended autorun of all tests 107 5 #mfgtests + 5?do108 #mfgcols #mfgtests + #mfgcols ?do 108 109 i set-current-sq 109 110 refresh … … 115 116 116 117 : play-item ( -- ) \ Interactive autorun of all tests 117 5 #mfgtests + 5?do118 #mfgcols #mfgtests + #mfgcols ?do 118 119 i set-current-sq 119 120 refresh … … 125 126 loop 126 127 all-tests-passed 127 ; 128 ; 129 128 130 : quit-item ( -- ) menu-done ; 129 131 : cpu-item ( -- ) " /cpu" mfg-test-dev ; … … 200 202 ; 201 203 202 : full-menu ( -- )204 : init-menu ( -- ) 203 205 d# 4 to rows 204 d# 5to cols206 #mfgcols to cols 205 207 d# 180 to sq-size 206 208 d# 128 to image-size 207 209 d# 128 to icon-size 208 210 cursor-off 211 ; 212 213 : full-menu ( -- ) 214 init-menu 209 215 olpc-menu-items 210 216 … … 220 226 221 227 : autorun-mfg-tests ( -- ) 228 init-menu 229 ['] run-menu behavior >r 222 230 ['] mfg-test-autorunner to run-menu \ Run menu automatically 223 231 true to diag-switch? 224 232 ['] olpc-menu-items ['] nest-menu catch drop 233 r> to run-menu 225 234 false to diag-switch? 226 235 restore-scroller
Note: See TracChangeset
for help on using the changeset viewer.
