startup: removed capture_catch
[openocd/genbsdl.git] / tcl / test / selftest.cfg
blob912d1c08e7ecc34c0137af4813e5c2bd4d29d75f
2 add_help_text selftest "run selftest using working ram <tmpfile> <address> <size>"
4 proc selftest {tmpfile address size} {
6    for {set i 0} {$i < $size } {set i [expr $i+4]} {
7        mww [expr $address+$i] $i
8    }
10    for {set i 0} {$i < 10 } {set i [expr $i+1]} {
11     puts "Test iteration $i"
12     dump_image $tmpfile $address $size
13         verify_image $tmpfile $address bin
14         load_image $tmpfile $address bin
15    }