home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 355_03 / slk3.exe / TEST / R.BAT < prev    next >
DOS Batch File  |  1991-06-09  |  2KB  |  59 lines

  1. rem Minimal release testing: to be done before each release.
  2. rem ALSO: \sherlock\backup.bat should be run after all tests complete.
  3. rem
  4. rem source: r.bat
  5. rem version: July 28, 1989
  6. rem
  7. rem ---> This batch file must be run in the same directory as spp.exe.
  8. rem ---> There must be a subdirectory called out in the current directory.
  9. path c:\sherlock\bin;c:\bin\turboc;c:\bin\msc;c:\dos
  10. rem
  11. rem See also
  12. rem    1. \sherlock\sltest.exe    
  13. rem    2. version.bat
  14. rem    3. spptest.bat      (Applies spp, sdel, sdif to all files in \spp)
  15. rem    4. tst\pptest.bat (Applies spp to all .tst files in \test\tst)
  16. rem    5. tst\htest.bat  (Applies spp to all .h files in c:\include\turboc)
  17. rem    6. tst\htest2.bat (Applies spp to all .h files in c:\include\msc)
  18. rem    7. tt\tttest.bat  (Applies spp to all .c files in \test\tt)
  19. rem
  20. set INCLUDE=c:\sherlock
  21. rem
  22. rem  Part 1: declarations
  23. rem
  24. spp \test\dcltest2.c out\out2.c
  25. rem The -C option must be off (Nested comments not valid)
  26. spp \test\dcltest.c  out\out.c
  27. tcc -c -DTURBOC -oout\out out\out.c
  28. rem
  29. spp -o \test\dcltest.c out\outo.c
  30. tcc -c -DTURBOC -oout\outo out\outo.c
  31. rem
  32. spp -t \test\dcltest.c out\outt.c
  33. tcc -c -DTURBOC -oout\outt out\outt.c
  34. rem
  35. rem  Part 2:  macro substitution
  36. rem
  37. REM cpp  \cpp\test\cpp.tst out\cpp.out
  38. rem
  39. rem  Part 3:  test spp, sdel and sdif in action
  40. rem
  41. del out\t1.c
  42. del out\t2.c
  43. del out\t3
  44. del out\t1
  45. sdel \sherlock\spp\sys.c out\t1
  46. spp out\t1 out\t1.c -d TURBOC      -n -s c:\include\turboc -s c:\sherlock\spp
  47. spp out\t1 out\t2.c -d MICRO_SOFT  -n -s c:\include\msc    -s c:\sherlock\spp
  48. tcc -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp -oout\t1 out\t1.c
  49. cl /c /AL /DMICRO_SOFT /Ic:\include\msc /I\sherlock\spp /I\sherlock /Foout\t2.obj out\t2.c
  50. sdel out\t2.c out\t3 -n
  51. sdif out\t2.c out\t3
  52. sdif -b out\t1 out\t3
  53. rem
  54. rem Erase temp files created by Microsoft C compiler
  55. del this
  56. del there
  57. path c:\bat
  58. dopath
  59.