home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cproto.zip / cproto46 / testing / case17.bat < prev    next >
DOS Batch File  |  1998-01-31  |  524b  |  19 lines

  1. @echo off
  2. echo Testing case 17
  3. echo Testing case 17 >>run_test.out
  4. if exist case17.out erase case17.out
  5. if exist case17.dif erase case17.dif
  6. copy syntax.c case17.c
  7. ..\CPROTO -t -ocase17.out -Ocase17.err case17.c
  8. echo ... edited case17.c ... >>case17.out
  9. type case17.c >>case17.out
  10. if not exist case17.ref goto saveit
  11.     fc/L/n/w case17.out case17.ref >>run_test.out
  12.     if exist case17.out erase case17.out
  13.     if exist case17.err erase case17.err
  14.     goto end
  15. :saveit
  16.     ren case17.out case17.ref
  17. :end
  18.     erase case17.c
  19.