| 1 | #!/bin/sh |
| 2 | # Make and execute tests |
| 3 | |
| 4 | case "$1" in |
| 5 | -nodef) |
| 6 | shift |
| 7 | t3make -test -I$T3_DAT -a -nodef -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1 |
| 8 | ;; |
| 9 | -debug) |
| 10 | shift |
| 11 | t3make -test -d -I$T3_DAT -a -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1 |
| 12 | ;; |
| 13 | -pre) |
| 14 | shift |
| 15 | t3make -test -I$T3_DAT -a -nobanner -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1 |
| 16 | ;; |
| 17 | *) |
| 18 | t3make -test -I$T3_DAT -a -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1 |
| 19 | ;; |
| 20 | esac |
| 21 | |
| 22 | echo "'Make' test: $1" |
| 23 | |
| 24 | test_exec -cs cp437 $T3_OUT/$1.t3 >>$T3_OUT/$1.log 2>&1 |
| 25 | test_diff $1 |
| 26 | |
| 27 | echo |