3 proc gasp_test { testname } {
7 send_log "$srcdir/lib/run $GASP -s $testname.asm -o gasp.out \n"
8 catch "exec $srcdir/lib/run $GASP -I$srcdir/gasp -s $testname.asm -o gasp.out" errs
9 catch "exec diff gasp.out $testname.out" diffs
10 if ![string match "" $diffs] {
14 send_log "exec cat gasp.out"
24 foreach src [ lsort [ glob $srcdir/gasp/*.asm ] ] {
25 regsub -all ".asm" $src "" t
30 # FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
31 # in use, then this can be removed.
32 if [info exists errorInfo] then {