terps/tads/tads3/win32/test/testditch.bat
raw| 1 | rem Run a Ditch3 (Return to Ditch Day) test script |
| 2 | rem |
| 3 | rem Usage: testditch <.cmd-file> <.log-file> |
| 4 | rem |
| 5 | rem The .cmd |
| 6 | |
| 7 | echo Ditch3 test: %1 |
| 8 | |
| 9 | rem Note the base path for the tests |
| 10 | set tstroot=%cd% |
| 11 | |
| 12 | rem Switch to the Ditch3 directory |
| 13 | pushd %tstditch% |
| 14 | |
| 15 | rem Run the script |
| 16 | call testditch %1.cmd %tstout%\%2.log |
| 17 | |
| 18 | rem Switch back to the test directory |
| 19 | popd |
| 20 | |
| 21 | rem Diff the results |
| 22 | call %tstbat%\testdiff %2 |