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 / TST / PPTEST.BAT < prev    next >
DOS Batch File  |  1989-08-01  |  2KB  |  76 lines

  1. rem Apply SPP to all .tst and .pp files.
  2. rem
  3. rem source:  pptest.bat
  4. rem version: February 16, 1989
  5. rem
  6. rem Part 1:  Test the parser
  7. rem
  8. set INCLUDE=
  9. del *.out
  10. rem
  11. rem bad_xxx routines generate warnings and errors
  12. rem
  13. spp    comment2.tst comment2.out
  14. rem should say: file ends in comment starting in line 2
  15. spp -n comment2.tst comment2.out
  16. pause
  17. spp dclbug.tst dclbug.out
  18. spp comment.tst comment.out
  19. spp bool.tst    bool.out
  20. rem This should generate 4 warnings
  21. spp -d A dupl.tst dupl.out
  22. rem This generates 4 warnings about non-identical definitions
  23. spp macro.tst macro.out
  24. sdif -b macro.tst macro.out
  25. spp  -f \sherlock\sherlock.syn syn.tst syn.out
  26. rem This generates 4 errors and 2 warnings
  27. spp error.tst   error.out
  28. spp c:\include\turboc\limits.h limits.out
  29. spp assn.tst     assn.out
  30. spp arith.tst    arith.out
  31. spp COMMA.tst    comma.out
  32. spp TX.tst    tx.out
  33. spp CODE.tst    code.out
  34. spp POST.tst    post.out
  35. rem The generates 2 warnings.
  36. spp TYPE.tst    type.out
  37. spp T1.tst    t1.out
  38. spp NODPOP.tst    nodpop.out
  39. spp FUNC.tst    func.out
  40. spp STAR.tst    star.out
  41. spp ARRAY.tst    array.out
  42. spp FIF.tst    fif.out
  43. spp MODE.tst    mode.out
  44. spp STR.tst    str.out
  45. spp TERN.tst    tern.out
  46. spp GOTO.tst    goto.out
  47. spp REGTYPE.tst    regtype.out
  48. spp SZF.tst    szf.out
  49. spp PAREN.tst    paren.out
  50. spp SWITCH.tst    switch.out
  51. spp UNBAL.tst    unbal.out
  52. spp IF.tst    if.out
  53. spp CAST.tst    cast.out
  54. spp X1GOOD.tst    x1good.out
  55. spp RELOP.tst    relop.out
  56. spp FNCALL.tst    fncall.out
  57. spp SIMPLE.tst    simple.out
  58. rem
  59. spp AM.tst    am.out
  60. spp AMB.tst    amb.out
  61. spp X1BAD.tst    x1bad.out
  62. spp X2GOOD.tst    x2good.out
  63. spp ZTOK.tst    ztok.out
  64. spp XTOK.tst    xtok.out
  65. rem
  66. rem Part 2: test the preprocessor
  67. rem
  68. spp INCLUDE.pp    include.out
  69. spp IF.pp    ppif.out
  70. spp SHORT.pp    short.out
  71. spp NUMBER.pp    number.out
  72. spp INDENT.pp    indent.out
  73. rem
  74. pause about to delete *.out
  75. del *.out
  76.