test.bat 547 B

1234567891011121314151617181920212223
  1. rem test --- Run a REDUCE test file.
  2. rem Author: Anthony C. Hearn.
  3. rem Modified by FJW for testing multiple files entirely within current directory.
  4. :loop
  5. if "%1" == "" goto ret
  6. set testfile=%1
  7. shift
  8. if %lisp% == psl goto psl
  9. start /wait /min %reduce%\lisp\csl\%MACHINE%\csl -i %reduce%\lisp\csl\reduce.img test.dat -- %testfile%.lg
  10. goto loop
  11. :psl
  12. start /wait /min %reduce%\lisp\psl\%MACHINE%\psl\bpsl -td 6000000 -f %reduce%\lisp\psl\%MACHINE%\red\reduce.img -i test.dat -o %testfile%.lg
  13. goto loop
  14. :ret
  15. set testfile=