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 >
Wrap
DOS Batch File
|
1989-08-01
|
2KB
|
76 lines
rem Apply SPP to all .tst and .pp files.
rem
rem source: pptest.bat
rem version: February 16, 1989
rem
rem Part 1: Test the parser
rem
set INCLUDE=
del *.out
rem
rem bad_xxx routines generate warnings and errors
rem
spp comment2.tst comment2.out
rem should say: file ends in comment starting in line 2
spp -n comment2.tst comment2.out
pause
spp dclbug.tst dclbug.out
spp comment.tst comment.out
spp bool.tst bool.out
rem This should generate 4 warnings
spp -d A dupl.tst dupl.out
rem This generates 4 warnings about non-identical definitions
spp macro.tst macro.out
sdif -b macro.tst macro.out
spp -f \sherlock\sherlock.syn syn.tst syn.out
rem This generates 4 errors and 2 warnings
spp error.tst error.out
spp c:\include\turboc\limits.h limits.out
spp assn.tst assn.out
spp arith.tst arith.out
spp COMMA.tst comma.out
spp TX.tst tx.out
spp CODE.tst code.out
spp POST.tst post.out
rem The generates 2 warnings.
spp TYPE.tst type.out
spp T1.tst t1.out
spp NODPOP.tst nodpop.out
spp FUNC.tst func.out
spp STAR.tst star.out
spp ARRAY.tst array.out
spp FIF.tst fif.out
spp MODE.tst mode.out
spp STR.tst str.out
spp TERN.tst tern.out
spp GOTO.tst goto.out
spp REGTYPE.tst regtype.out
spp SZF.tst szf.out
spp PAREN.tst paren.out
spp SWITCH.tst switch.out
spp UNBAL.tst unbal.out
spp IF.tst if.out
spp CAST.tst cast.out
spp X1GOOD.tst x1good.out
spp RELOP.tst relop.out
spp FNCALL.tst fncall.out
spp SIMPLE.tst simple.out
rem
spp AM.tst am.out
spp AMB.tst amb.out
spp X1BAD.tst x1bad.out
spp X2GOOD.tst x2good.out
spp ZTOK.tst ztok.out
spp XTOK.tst xtok.out
rem
rem Part 2: test the preprocessor
rem
spp INCLUDE.pp include.out
spp IF.pp ppif.out
spp SHORT.pp short.out
spp NUMBER.pp number.out
spp INDENT.pp indent.out
rem
pause about to delete *.out
del *.out