terps/tads/tads3/win32/test/testexec.bat
raw| 1 | @echo off |
| 2 | @rem Execution tests |
| 3 | |
| 4 | echo Execution test: %1 |
| 5 | |
| 6 | set tstCodePage=cp437 |
| 7 | if not %1# == -cp# goto nocp |
| 8 | shift |
| 9 | set tstCodePage=%1 |
| 10 | shift |
| 11 | |
| 12 | :nocp |
| 13 | |
| 14 | %tstbin%\capture >%tstout%\%1.log %tstbin%\test_prs_top -I%tstinc% %tstdat%\%1.t %tstout%\%1.t3 |
| 15 | %tstbin%\capture >>%tstout%\%1.log %tstbin%\test_exec -cs %tstCodePage% -norand %tstout%\%1.t3 |
| 16 | call %tstbat%\testdiff %1 |
| 17 | |
| 18 | echo. |