UNITTESTS = \
help \
abstptr abstract alias alttypes ansireserved argorder \
- args arraydims blocks break cases cast charlit clauses commentchar compdestroy \
- constannot controldepth csyntax czechnames czechoslovaknames deadparam \
+ args arraydims arrayinit arraylit blocks break cases cast charlit clauses commentchar compdestroy \
+ compoundliterals compoundstmt constannot controldepth csyntax czechnames czechoslovaknames deadparam \
decl divzero enum exports external fields flags forbody format freearray \
funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
- linked lintcomments list loopexec \
+ linked lintcomments list loopexec looptesteffect \
macros macrosef merge mergenull modifies modtest moduncon \
mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
parentype postnotnull preds prefixes printflike rc refcounts release repexpose \
specclauses \
special stack staticarray strings \
stringliteral \
- structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
+ structassign typequals typeof ud ulstypes union unioninit unreachable unsignedcompare \
unused ullint utypes void widestrings
UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
-$(SPLINTR) arraydims.c -varuse -expect 2
-$(SPLINTR) arraydims.c -initsize -varuse
+.PHONY: arrayinit
+arrayinit:
+ -$(SPLINTR) arrayinit.c -expect 9
+
+.PHONY: arraylit
+arraylit:
+ -$(SPLINTR) arraylit.c -expect 2
+ -$(SPLINTR) arraylit.c +stringliteralsmaller -expect 4
+
.PHONY: blocks
blocks:
-$(SPLINTR) blocks.c -expect 4
-$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
-$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
+.PHONY: compoundliterals
+compoundliterals:
+ ${SPLINTRN} compoundliterals.c
+
+.PHONY: compoundstmt
+compoundstmt:
+ ${SPLINTRN} compoundstmt.c -expect 3
+
.PHONY: constannot
constannot:
${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
-$(SPLINTR) loopexec.c -expect 1
-$(SPLINTR) loopexec.c -obviousloopexec -expect 3
+.PHONY: looptesteffect
+looptesteffect:
+ -$(SPLINTR) looptesteffect.c -expect 1
.PHONY: macros
macros:
staticarray:
-$(SPLINTR) staticarray.c -expect 3
+###
+### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
+###
+
.PHONY: stringliteral
stringliteral:
- -$(SPLINTR) stringliteral.c +stringliteralnoroomfinalnull -expect 4
- -$(SPLINTR) stringliteral.c -expect 3
+ -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
+ -$(SPLINTR) stringliteral.c -expect 4
.PHONY: strings
strings:
structassign:
-$(SPLINTR) structassign.c -expect 4
+.PHONY: typeof
+typeof:
+ -$(SPLINTR) typeof.c -expect 2
+
.PHONY: typequals
typequals:
-$(SPLINTR) typequals.c tq.lcl -expect 5
./argorder5.c \
./args.c \
./arrayinit.c \
+ ./arraylit.c \
./blocks.c \
./branchstate.c \
./break.c \
./commentchar.c \
./commentcmd.c \
./compdestroy.c \
+ ./compoundliterals.c ./compoundliterals.expect \
+ ./compoundstmt.c ./compoundstmt.expect \
./csyntax.c \
./constannot.c \
./controldepth.c \
argorder.expect \
args.expect \
arrayinit.expect \
+ arraylit.expect \
blocks.expect \
branchstate.expect \
break.expect \
./moreBufferTests2/Makefile \
./fileio/eof.mts ./fileio/file.mts ./fileio/filerw.mts ./mergestate/tainted.mts ./mergestate/taintednm.mts ./metastate/file.mts ./metastate/nullterminated.mts ./metastate/sockets.mts ./tainted/tainted-bad.mts ./tainted/tainted.mts ./fileio/file.xh ./fileio/filerw.xh ./mergestate/tainted.xh ./mergestate/taintednm.xh ./metastate/file.xh ./tainted/tainted.xh \
db2.old-expect union.pp warnuse.old-expect \
- ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect \
+ ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
unioninit.expect unioninit.c utypes.c \
utypes.expect widestrings.expect widestrings.c \
functionmacro.expect functionmacro.c info.c info.expect \
- loopexec.c mergenull.c shifts.c \
+ loopexec.c looptesteffect.c mergenull.c shifts.c \
manual.expect ./manual/Makefile \
./manual/annotglobs.c ./manual/bool.c ./manual/bool.h ./manual/clauses.c ./manual/employee.h ./manual/exposure.c ./manual/globals.c ./manual/ignore.c ./manual/implicit.c ./manual/intSet.h ./manual/list.c ./manual/loop.c ./manual/macros.c ./manual/modify.c ./manual/mstring.c ./manual/mstring.h ./manual/mstringnn.c ./manual/multiError.c ./manual/names.c ./manual/noeffect.c ./manual/null.c ./manual/only.c ./manual/order.c ./manual/palindrome.c ./manual/palindrome.h ./manual/refs.c ./manual/returned.c ./manual/rgb.c ./manual/rstring.c ./manual/rstring.h ./manual/sample.c ./manual/setChar.c ./manual/setname.c ./manual/setname.h ./manual/special.c ./manual/stack.c ./manual/sumsquares.c ./manual/switch.c ./manual/testpal.c ./manual/types.c ./manual/unique.c ./manual/usedef.c ./manual/bounds.c \
arraydims.expect arraydims.c \
moreBufferTests2/fixedArrayType.c oldstyle2.c \
- stringliteral.expect stringliteral.c
+ divzero.expect parentype.expect \
+ divzero.c parentype.c \
+stringliteral.expect stringliteral.c