]> andersk Git - splint.git/blame - test/Makefile.am
Fixed bug in Makefile.am.
[splint.git] / test / Makefile.am
CommitLineData
8fe44445 1## This file currently uses GNU Make features; those should really be replaced
2## by configure-time handling.
3
4AUTOMAKE_OPTIONS = 1.5 foreign
5
6## Use this to configure diff output
2e127cb8 7DIFFFLAGS =
8
9# -u show context
8fe44445 10
ce956ce0 11#drl 3/27/2002 get the test suit to print a warning when splint is built under /usr/
12
13
11db3170 14## Set up the splint commands
8fe44445 15
6fcd0b1e 16#SPLINT = valgrind --leak-resolution=high --num-callers=20 --show-reachable=no --leak-check=no $(top_builddir)/src/splint$(EXEEXT)
ce956ce0 17SPLINT = $(top_builddir)/src/splint$(EXEEXT)
a469ccf0 18
2b89434f 19### These are shell-specific
20## unexport LARCH_PATH
21## unexport LCLIMPORTDIR
6c9a3167 22
a469ccf0 23### This is horrible! Can't we make top_builddir absolute?
6fcd0b1e 24#SPLINTNEST = valgrind --leak-resolution=high --num-callers=20 --show-reachable=no --leak-check=no ../$(top_builddir)/src/splint$(EXEEXT)
11db3170 25SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
f2b6724f 26SPLINTPNEST = @$(SPLINTNEST) -nof
27SPLINTP = @$(SPLINT) -nof
8fe44445 28
11db3170 29# Make sure .splintrc files are not used so test results do not
8fe44445 30# depend on local settings.
f2b6724f 31SPLINTRN = $(SPLINTP) -hints -booltype "bool"
11db3170 32SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
8fe44445 33
f2b6724f 34SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
11db3170 35SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
a469ccf0 36
8fe44445 37###
f2b6724f 38### rcfiles not included becuase file names will not match exactly
39###
8fe44445 40
41UNITTESTS = \
a469ccf0 42 help \
8fe44445 43 abstptr abstract alias alttypes ansireserved argorder \
755ee3f6 44 args arraydims arrayinit arraylit blocks break cases cast chararraylit charlit clauses commentchar compdestroy \
abd7f895 45 compoundliterals compoundstmt constannot controldepth csyntax czechnames czechoslovaknames deadparam \
140c27a8 46 decl divzero enum enumtag exports external fields flags forbody format freearray \
5c2f3045 47 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
52e90c0f 48 linked lintcomments list loopexec looptesteffect \
3e3ec469 49 macros macrosef merge mergenull modifies modtest moduncon \
8fe44445 50 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
e8b84478 51 parentype postnotnull preds prefixes printflike rc refcounts release repexpose \
6fcd0b1e 52 returned sharing shifts sizesigns slovaknames \
3e3ec469 53 specclauses \
54 special stack staticarray strings \
98b591d2 55 stringliteral \
288cbc5c 56 structassign typequals typeof ud ulstypes union unioninit \
57 unnamedsu unreachable unsignedcompare \
e0b363ad 58 unused ullint utypes void widestrings
8fe44445 59UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
60
3e3ec469 61SUBDIRTESTS = metastate mergestate tainted fileio \
62 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
27c9e640 63 maxset strchr for manual
64
3e3ec469 65### warnuse doesn't work yet!
66SUBDIRTESTS += tests2.2
67SUBDIRTESTS += tests2.4
68SUBDIRTESTS += tests2.5
69SUBDIRTESTS += db1 db2 db3
8fe44445 70
3e3ec469 71SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
8fe44445 72
73QUICKTESTS = db3
74
75.PHONY: all check
76all check: fulltest
77
78.PHONY: version
79version:
140c27a8 80 -$(SPLINT) -help version
8fe44445 81
82.PHONY: help
51e38316 83
8fe44445 84help:
f2b6724f 85 -@$(SPLINT)
86 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
140c27a8 87 -@$(SPLINT) -help
11db3170 88 -@$(SPLINTP) -asdf
89 -@$(SPLINTP) +boolint +boolint
140c27a8 90 -@$(SPLINT) -help flags alpha
363a5c93 91
92
93#commenting these out for the release because they will almost always fail
94#since the default will only fit one system
95#Don't want to panic the user...
140c27a8 96# -@$(SPLINT) -help flags all | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
97# -@$(SPLINT) -help flags full | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
98# -@$(SPLINT) -help flags manual | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
51e38316 99
100#larch and lclimportdir have different hardcoded default paths so don't include the path in the output..
101
8fe44445 102
103.PHONY: clean-local
104clean-local:
105 -rm -f *~ #*# *.o *.lcs a.out
5e3bf5ad 106 -rm -f *.out
107 -rm *.lcd *.lh
8fe44445 108 -cd db1; $(MAKE) clean
109 -cd db2; $(MAKE) clean
110 -cd db3; $(MAKE) clean
111
11db3170 112## All tests need splint to be built
8fe44445 113
11db3170 114$(SPLINTTESTS): $(SPLINT)
8fe44445 115
11db3170 116$(SPLINT):
8fe44445 117 cd $(top_builddir)/src; $(MAKE)
118
119## This is a kludgey way of processing the output to make it match exactly
120## The last matcher is the most annoying, as it can differ (the first two are
121## pretty much fixed); usually, you'll have 'make[1]:', but on DOS it is
122## 'make.exe[1]:' (it might even be 'c:/path/to/make.exe[1]:', but that's
123## not supported).
124## The tests should really be re-done as shell-scripts or something... maybe
125## autotest could be used once it's finished.
4c9767b3 126
51e38316 127CLEANOUTPUT = $(GREP) -v "Splint 3." | $(GREP) -v "$(SPLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:" | $(GREP) -v "^gmake.*\[[1-9]*\]:" | $(GREP) -v "^gmake -e" | $(GREP) -v "^make -e" |$(GREP) -v "config.status: creating test/Makefile" | $(GREP) -v "cd .. && " | $(GREP) -v "CONFIG_HEADERS=" | $(GREP) -v "CONFIG_FILES="
8fe44445 128
129## Not real C code
130
131.c.expect:
132 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
133
134.c.diff:
135 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
136
6c9a3167 137#drl temporally take this out.
138#.PHONY: expects
139#expects:
140# @echo "Saving old expects..."; \
141# cat *.expect >expects-`date +"%y-%m-%d-%H"`
142# @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
143# echo "Making $$TEST.expect..."; \
144# $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
145# cat $$TEST.expect; \
146# done
8fe44445 147
ce956ce0 148CheckSystemDir = (pwd | grep -q "/usr" && echo "Warning tests which not run correctly when splint is built in /usr or a subdirectory under /usr. Build splint in a different directory or disregard test failures." )
149
8fe44445 150.PHONY: quicktest
151quicktest:
ce956ce0 152 $(CheckSystemDir)
8fe44445 153 @for TEST in $(QUICKTESTS); do \
154 echo "Checking $$TEST..."; \
155 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
156 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
157 echo "*** FAIL ***"; \
158 done
159
160.PHONY: fulltest
161fulltest:
162 @echo "Testing $(PACKAGE) $(VERSION)..."
163 @echo
164 @echo "Version Info:"
140c27a8 165 @$(SPLINT) -help version
166 @$(SPLINT) -help vars
8fe44445 167 @echo ""
3e3ec469 168 @echo "Tests:"
a469ccf0 169 @echo ""
3e3ec469 170 @for TEST in $(SPLINTTESTS); do \
a469ccf0 171 echo "Checking $$TEST..."; \
172 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
173 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
174 echo "*** FAIL ***"; \
175 done
8fe44445 176
a469ccf0 177### Rules for tests start here
8fe44445 178
8fe44445 179.PHONY: abstptr
180abstptr:
3e3ec469 181 -$(SPLINTR) abstptr -expect 9
182 -$(SPLINTR) abstptr +voidabstract -expect 6
8fe44445 183
184.PHONY: abstract
185abstract:
3e3ec469 186 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
8fe44445 187
188.PHONY: alias
189alias:
3e3ec469 190 -$(SPLINTR) +lh mut
191 -$(SPLINTR) mut alias +globalias -expect 19
192 -$(SPLINTR) mut alias2 +globalias -expect 17
193 -$(SPLINTR) +lh alias3 -expect 14
194 -$(SPLINTR) +lh alias4 +boolint
195 -$(SPLINTR) alias4 -pred +retalias -expect 6
196 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
8fe44445 197
198.PHONY: alttypes
199alttypes:
3e3ec469 200 -$(SPLINTR) alttypes.c -expect 2
8fe44445 201
202###
203### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
204### Reports one new errors for ansireserved.c - wctomb is bad even as a local
205### variable (could be a macro?)
206### Reports 3 additional errors for +checks; no longer suppresses name errors
207### in the presense of other errors.
208###
209
210.PHONY: ansireserved
211ansireserved:
3e3ec469 212 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
213 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
214 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
215 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
8fe44445 216
217.PHONY: argorder
218argorder:
3e3ec469 219 -$(SPLINTR) argorder.c -expect 4
220 -$(SPLINTR) argorder2 -expect 5
221 -$(SPLINTR) argorder3.c -expect 8
222 -$(SPLINTR) argorder4 -expect 9
223 -$(SPLINTR) argorder4 -evalorder -expect 1
224 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
8fe44445 225
226.PHONY: args
227args:
3e3ec469 228 -$(SPLINTR) args -noeffect -expect 12
8fe44445 229
077d4458 230.PHONY: arraydims
231arraydims:
232 -$(SPLINTR) arraydims.c -varuse -expect 2
233 -$(SPLINTR) arraydims.c -initsize -varuse
234
393e573f 235.PHONY: arrayinit
236arrayinit:
237 -$(SPLINTR) arrayinit.c -expect 9
238
37ae0b5e 239.PHONY: arraylit
240arraylit:
241 -$(SPLINTR) arraylit.c -expect 2
242 -$(SPLINTR) arraylit.c +stringliteralsmaller -expect 4
243
8fe44445 244.PHONY: blocks
245blocks:
3e3ec469 246 -$(SPLINTR) blocks.c -expect 4
247 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
248 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
249 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
250 -$(SPLINTR) blocks.c +allempty -expect 6
251 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
8fe44445 252
253.PHONY: break
254break:
3e3ec469 255 -$(SPLINTR) break.c -expect 4
256 -$(SPLINTR) break.c +deepbreak -expect 6
257 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
8fe44445 258
259.PHONY: cases
260cases:
3e3ec469 261 -$(SPLINTR) cases.c -expect 5
262 -$(SPLINTR) cases2.c -expect 2
263 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
264 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
8fe44445 265
266.PHONY: cast
267cast:
3e3ec469 268 -$(SPLINTR) cast -accessmodule -expect 20
269 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
8fe44445 270
755ee3f6 271.PHONY: chararraylit
272chararraylit:
273 -$(SPLINTR) chararraylit.c -expect 2
274
8fe44445 275### Two addition errors detected with 2.5 with -numliteral.
276
277.PHONY: charlit
278charlit:
3e3ec469 279 -$(SPLINTR) +hints charlit.c -expect 4
280 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
281 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
8fe44445 282
283.PHONY: clauses
284clauses:
3e3ec469 285 -$(SPLINTR) clauses.c +memchecks -expect 4
286 -$(SPLINTR) clauses2.c +memchecks
287 -$(SPLINTR) clauses3.c +memchecks -expect 2
288 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
8fe44445 289
290.PHONY: commentchar
291commentchar:
3e3ec469 292 -$(SPLINTR) commentchar.c -expect 4
293 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
8fe44445 294
295.PHONY: controldepth
296controldepth:
3e3ec469 297 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
298 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
8fe44445 299
300.PHONY: compdestroy
301compdestroy:
3e3ec469 302 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
303 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
304 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
305 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
8fe44445 306
16d40061 307.PHONY: compoundliterals
308compoundliterals:
309 ${SPLINTRN} compoundliterals.c
310
abd7f895 311.PHONY: compoundstmt
312compoundstmt:
313 ${SPLINTRN} compoundstmt.c -expect 3
314
8fe44445 315.PHONY: constannot
316constannot:
bb7c2085 317 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
8fe44445 318
319.PHONY: csyntax
320csyntax:
3e3ec469 321 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
322 -$(SPLINTR) +quiet csyntax2.c -expect 2
323 -$(SPLINTR) +quiet csyntax3.c -expect 1
324 -$(SPLINTR) +quiet -incondefs csyntax4.c
325 -$(SPLINTR) +quiet csyntax5.c
326 -$(SPLINTR) +quiet csyntax6.c
327 -$(SPLINTR) +quiet csyntax7.c
328 -$(SPLINTR) +quiet csyntax8.c
329 -$(SPLINTR) +quiet csyntax9.c
330 -$(SPLINTR) +quiet csyntax10.c
331 -$(SPLINTR) +quiet csyntax11.c
332 -$(SPLINTR) +quiet csyntax12.c
333 -$(SPLINTR) +quiet csyntax13.c -expect 1
334 -$(SPLINTR) +quiet csyntax14.c
335 -$(SPLINTR) +quiet csyntax15.c
336 -$(SPLINTR) +quiet csyntax16.c -expect 2
337 -$(SPLINTR) +quiet csyntax17.c -expect 3
8fe44445 338
339.PHONY: czechnames
340czechnames:
3e3ec469 341 -$(SPLINTR) czechnames.c
342 -$(SPLINTR) +hints +czech czechnames.c -expect 2
343 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
344 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
8fe44445 345
346.PHONY: czechoslovaknames
347czechoslovaknames:
3e3ec469 348 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
349 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
350 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
8fe44445 351
352###
353### deadparam added 2001-05-27
354###
355
356.PHONY: deadparam
357deadparam:
11db3170 358 ${SPLINTR} deadparam.c -expect 3
8fe44445 359
360#
361# Was expect 3 before 2.4. Earlier versions did not handle implicit
362# function pointers correctly.
363#
364
365.PHONY: decl
366decl:
3e3ec469 367 -$(SPLINTR) decl.c -expect 2
368 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
369 -$(SPLINTR) decl2 -expect 4
8fe44445 370
140b6a60 371.PHONY: divzero
372divzero:
373 -$(SPLINTR) divzero.c -varuse -expect 0
374
8fe44445 375.PHONY: enum
376enum:
3e3ec469 377 -$(SPLINTR) enum -expect 16
378 -$(SPLINTR) enum -misscase -expect 14
8fe44445 379
140c27a8 380.PHONY: enumtag
381enumtag:
382 -$(SPLINTR) enumtag.c -expect 2
383
8fe44445 384.PHONY: exports
385exports:
3e3ec469 386 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
387 -$(SPLINTR) exports.c +exportany -expect 3
388 -$(SPLINTR) exports.c
8fe44445 389
390.PHONY: external
391external:
3e3ec469 392 -$(SPLINTR) external.c +partial
27c9e640 393 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
3e3ec469 394 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
395 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
396 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
8fe44445 397
398.PHONY: fields
399fields:
3e3ec469 400 -$(SPLINTR) fields.c +memchecks -expect 6
401 -$(SPLINTR) fields2.c +memchecks -expect 5
402 -$(SPLINTR) fields3.c +memchecks
8fe44445 403
404.PHONY: flags
405flags:
3e3ec469 406 -$(SPLINTR) flags.c -expect 8
407 -$(SPLINTR) +nocomments flags.c -expect 2
8fe44445 408
409### Added 2001-06-02
410
411.PHONY: forbody
412forbody:
11db3170 413 ${SPLINTR} forbody.c -expect 2
8fe44445 414
415### Added 2001-06-03
416.PHONY: format
417format:
11db3170 418 ${SPLINTR} format.c -expect 3
419 ${SPLINTR} format.c -formatconst
8fe44445 420
421# two new errors (invalid lhs)
422
423.PHONY: funcpointer
424funcpointer:
3e3ec469 425 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
8fe44445 426
5c2f3045 427.PHONY: functionmacro
428functionmacro:
3e3ec469 429 -$(SPLINTR) functionmacro.c -expect 2
5c2f3045 430
8fe44445 431.PHONY: glob
432glob:
3e3ec469 433 -$(SPLINTR) glob -expect 4
434 -$(SPLINTR) glob -globuse -expect 3
435 -$(SPLINTR) glob +globunspec -expect 6
8fe44445 436
437.PHONY: globals
438globals:
3e3ec469 439 -$(SPLINTR) -modifies globals.c -expect 5
440 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
441 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
442 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
443 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
444 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
8fe44445 445
446# Was -accessfile
447.PHONY: impabstract
448impabstract:
3e3ec469 449 -$(SPLINTR) -accessmodule impabstract.c
450 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
451 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
8fe44445 452
4c9767b3 453###
454### evans 2001-12-30: Handle unrecognized pre-processor directives
455### (Reported by Pierluigi Sanzani)
456
457.PHONY: info
458info:
459 ${SPLINTR} info.c -expect 4
460
8fe44445 461### evans 2001-10-14: Expected errors updated
462.PHONY: init
463init:
3e3ec469 464 -$(SPLINTR) init.c -expect 14
465 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
8fe44445 466
467
468.PHONY: inparam
469inparam:
3e3ec469 470 -$(SPLINTR) inparam.c -expect 2
471 -$(SPLINTR) +impouts inparam.c -expect 1
8fe44445 472
473.PHONY: internal
474internal:
3e3ec469 475 -$(SPLINTR) internal.c -expect 1
27c9e640 476 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
477 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
3e3ec469 478 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
479 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
480 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
8fe44445 481
482###
483### iter
484### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
485###
486
487.PHONY: iter
488iter:
3e3ec469 489 -$(SPLINTR) iter -expect 14 -lclexpect 1
490 -$(SPLINTR) iter2.c -expect 12
8fe44445 491
492.PHONY: keep
493keep:
3e3ec469 494 -$(SPLINTR) keep.c +memchecks -expect 6
8fe44445 495
496### libs
497### 2001-05-22: 2 new errors found (fixed spec of signal)
498### 2001-05-30: 3 new errors found (formatconst)
f9264521 499### 2002-07-08: 2 new errors found (getc modifies errno)
8fe44445 500
501.PHONY: libs
502libs:
3e3ec469 503 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
504 -$(SPLINTR) libs.c -expect 22
505 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
f9264521 506 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 44
8fe44445 507
508.PHONY: lintcomments
509lintcomments:
3e3ec469 510 -$(SPLINTR) lintcomments.c -expect 5
511 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
512 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
8fe44445 513
514.PHONY: list
515list:
3e3ec469 516 -$(SPLINTR) list.c -expect 3
517
518###
519### 2002-01-01: Added test case for obvious loop execution.
520###
521
522.PHONY: loopexec
523loopexec:
524 -$(SPLINTR) loopexec.c -expect 1
525 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
526
52e90c0f 527.PHONY: looptesteffect
528looptesteffect:
529 -$(SPLINTR) looptesteffect.c -expect 1
8fe44445 530
531.PHONY: macros
532macros:
3e3ec469 533 -$(SPLINTR) macros -expect 17
534 -$(SPLINTR) macros.c +allmacros -expect 34
535 -$(SPLINTR) macros.c +fcnmacros -expect 31
8fe44445 536
537
538.PHONY: macrosef
539macrosef:
3e3ec469 540 -$(SPLINTR) macrosef -expect 4
541 -$(SPLINTR) macrosef.c +allmacros -expect 3
542 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
8fe44445 543
544.PHONY: merge
545merge:
3e3ec469 546 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
8fe44445 547
60868d40 548.PHONY: mergenull
549mergenull:
3e3ec469 550 -$(SPLINTRN) mergenull.c
60868d40 551
8fe44445 552.PHONY: modifies
553modifies:
3e3ec469 554 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
8fe44445 555
556.PHONY: modtest
557modtest:
3e3ec469 558 -$(SPLINTR) modtest -expect 10
559 -$(SPLINTR) modtest +modunspec -expect 13
560 -$(SPLINTR) modtest +mustmod -expect 14
8fe44445 561
562.PHONY: moduncon
563moduncon:
3e3ec469 564 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
565 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
8fe44445 566
567.PHONY: mongoincludes
568mongoincludes:
3e3ec469 569 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
570 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
571 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
572 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
573 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
8fe44445 574
575.PHONY: mystrncat
576mystrncat:
bb7c2085 577 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
8fe44445 578
579.PHONY: noeffect
580noeffect:
4dd72714 581 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
8fe44445 582
3e3ec469 583###
584### 2002-01-01: null1.c: expect increased to 15 because out must be defined
585### checking detects one new error
586###
587
8fe44445 588.PHONY: null
589null:
3e3ec469 590 -$(SPLINTR) null1.c -expect 15
591 -$(SPLINTR) null1.c -null -mustdefine -expect 4
592 -$(SPLINTR) null2.c -expect 11
593 -$(SPLINTR) null3.c -expect 15
594 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
595 -$(SPLINTR) null4.c -expect 1
596 -$(SPLINTR) null5.c -expect 4
597 -$(SPLINTR) null6 -expect 4
598 -$(SPLINTR) +quiet null6.lcl -dump null6
599 -$(SPLINTR) null6.c -load null6 -expect 4
8fe44445 600
601### Added for 3.0 (bugs reported by Kevin Broady)
602
603.PHONY: nullret
604nullret:
3e3ec469 605 -$(SPLINTR) nullret.c -expect 2
606 -$(SPLINTR) -nullret nullret.c -expect 1
8fe44445 607
608.PHONY: nullassign
609nullassign:
3e3ec469 610 -$(SPLINTR) nullassign.c -expect 2
611 -$(SPLINTR) -nullassign nullassign.c -expect 1
8fe44445 612
613
614#
615# Before 2.4, expected one more because error was reported both as
616# dependent and observer.
617#
618
619.PHONY: observer
620observer:
3e3ec469 621 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
622 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
623 -$(SPLINTR) observer.c -expect 7
8fe44445 624
625.PHONY: oldstyle
626oldstyle:
7c39a167 627 -$(SPLINTR) oldstyle oldstyle2.c -expect 5
8fe44445 628
629.PHONY: outglob
630outglob:
3e3ec469 631 -$(SPLINTR) outglob -expect 10
8fe44445 632
633.PHONY: outparam
634outparam:
3e3ec469 635 -$(SPLINTR) outparam -expect 12
8fe44445 636
637### evans 2001-08-26: postnotnull new
638
639.PHONY: postnotnull
640postnotnull:
11db3170 641 ${SPLINTR} postnotnull.c -expect 1
e8b84478 642
643### evans 2002-02-09: added parentype.c
644.PHONY: parentype
645parentype:
646 ${SPLINTR} parentype.c
647
8fe44445 648#
649# Four new +fcnuse errors for -strict (evans 2001-07-22)
650#
651
652.PHONY: preds
653preds:
3e3ec469 654 -$(SPLINTR) +hints preds.c -expect 6
655 -$(SPLINTRN) +hints preds.c -weak -expect 1
656 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
8fe44445 657
658.PHONY: prefixes
659prefixes:
3e3ec469 660 -$(SPLINTR) prefixes.c +partial
661 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
662 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
663 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
664 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
665 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
666 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
667 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
668 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
669 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
670 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
671 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
672 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
673 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
674 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
675 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
8fe44445 676
677.PHONY: printflike
678printflike:
3e3ec469 679 -$(SPLINTR) printflike.c -expect 6
680 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
8fe44445 681
682.PHONY: rc
683rc:
3e3ec469 684 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
685 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
686 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
687 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
688 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
8fe44445 689
60868d40 690.PHONY: rcfiles
691rcfiles:
3e3ec469 692 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
60868d40 693
8fe44445 694.PHONY: refcounts
695refcounts:
3e3ec469 696 -$(SPLINTR) refcounts.c -expect 7
8fe44445 697
698.PHONY: release
699release:
3e3ec469 700 -$(SPLINTR) release.c +memchecks -expect 1
8fe44445 701
702.PHONY: repexpose
703repexpose:
3e3ec469 704 -$(SPLINTR) +lh repexpose +memchecks -expect 12
705 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
706 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
8fe44445 707
708### returned added 2001-05-27
11db3170 709### (Bug discovered checking splint sources.)
8fe44445 710
711.PHONY: returned
712returned:
11db3170 713 ${SPLINTR} returned.c -expect 1
8fe44445 714
715.PHONY: sharing
716sharing:
3e3ec469 717 -$(SPLINTR) sharing1.c -expect 21
718 -$(SPLINTR) sharing3.c -expect 3
719 -$(SPLINTR) sharing4.c -expect 13
720 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
721 -$(SPLINTR) sharing5.c -expect 6
8fe44445 722
a956d444 723.PHONY: shifts
724shifts:
725 -$(SPLINTR) shifts.c -expect 4
726 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
727 -$(SPLINTR) shifts.c -shiftnegative -expect 1
728
6fcd0b1e 729### evans - added 2002-08-17: check warnings with arbitrary integral types
730sizesigns:
731 -$(SPLINTR) +strict sizesigns.c
732 -$(SPLINTR) +strict +ignoresigns sizesigns.c
733 -$(SPLINTR) +strict +matcharbitraryintegral sizesigns.c
734 -$(SPLINTR) +strict +matcharbitraryintegral +ignoresignz sizesigns.c
735
8fe44445 736.PHONY: slovaknames
737slovaknames:
3e3ec469 738 -$(SPLINTR) +hints slovaknames.c -expect 1
739 -$(SPLINTR) +hints slovaknames.c +accessslovak
740 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
741 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
742 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
8fe44445 743
6fcd0b1e 744##
745## evans 2002-07-22: 1 less warning for specclauses3.c because of NULL result
746##
747
8fe44445 748.PHONY: specclauses
749specclauses:
3e3ec469 750 -$(SPLINTR) specclauses.c -expect 6
751 -$(SPLINTR) specclauses2.c -expect 8
6fcd0b1e 752 -$(SPLINTR) specclauses3.c -expect 5
3e3ec469 753 -$(SPLINTR) specclauses4.c -expect 3
754 -$(SPLINTR) specclauses5.c -expect 3
755
756.PHONY: specclauses1
757specclauses1:
758 -$(SPLINTR) specclauses.c -expect 6
759
760.PHONY: specclauses2
761specclauses2:
762 -$(SPLINTR) specclauses2.c -expect 8
763
764.PHONY: specclauses3
765specclauses3:
766 -$(SPLINTR) specclauses3.c -expect 6
767
768.PHONY: specclauses4
769specclauses4:
770 -$(SPLINTR) specclauses4.c -expect 3
771
772.PHONY: specclauses5
773specclauses5:
774 -$(SPLINTR) specclauses5.c -expect 3
8fe44445 775
776.PHONY: special
777special:
3e3ec469 778 -$(SPLINTR) special -expect 20
779 -$(SPLINTR) special -relaxquals -expect 22
8fe44445 780
781.PHONY: stack
782stack:
3e3ec469 783 -$(SPLINTR) stack.c -expect 5
784 -$(SPLINTR) stack.c -stackref
8fe44445 785
786.PHONY: staticarray
787staticarray:
3e3ec469 788 -$(SPLINTR) staticarray.c -expect 3
8fe44445 789
37ae0b5e 790###
791### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
792###
793
98b591d2 794.PHONY: stringliteral
795stringliteral:
37ae0b5e 796 -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
797 -$(SPLINTR) stringliteral.c -expect 4
98b591d2 798
8fe44445 799.PHONY: strings
800strings:
3e3ec469 801 -$(SPLINTR) strings.c -expect 3
802 -$(SPLINTR) -readonlystrings -expect 1 strings.c
803 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
8fe44445 804
805.PHONY: structassign
806structassign:
3e3ec469 807 -$(SPLINTR) structassign.c -expect 4
8fe44445 808
abd7f895 809.PHONY: typeof
810typeof:
811 -$(SPLINTR) typeof.c -expect 2
812
8fe44445 813.PHONY: typequals
814typequals:
3e3ec469 815 -$(SPLINTR) typequals.c tq.lcl -expect 5
816 -$(SPLINTR) typequals.c -expect 2
8fe44445 817
818.PHONY: ud
819ud:
3e3ec469 820 -$(SPLINTR) ud.c -expect 9
821 -$(SPLINTR) ud2 -specundef -expect 3
8fe44445 822
823.PHONY: ulstypes
824ulstypes:
3e3ec469 825 -$(SPLINTR) ulstypes.c -expect 8
826 -$(SPLINTR) ulstypes.c +ignorequals
827 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
146e25eb 828
8fe44445 829# 3 more detected with version 2.5 (change in -numliteral setting)
830
831.PHONY: union
832union:
3e3ec469 833 -$(SPLINTR) +memchecks union.c -expect 8
8fe44445 834
146e25eb 835###
836### Added 2001-12-30: fixed union initializer checking in response to
837### bug report from Jim Zelenka.
838###
839
840.PHONY: unioninit
841unioninit:
3e3ec469 842 -$(SPLINTR) unioninit.c -expect 2
146e25eb 843
288cbc5c 844.PHONY: unnamedsu
845unnamedsu:
846 -$(SPLINTR) unnamedsu.c -expect 0
847
8fe44445 848.PHONY: unreachable
849unreachable:
3e3ec469 850 -$(SPLINTR) unreachable.c -expect 5
851 -$(SPLINTR) -unreachable unreachable.c -expect 2
852 -$(SPLINTR) switch.c -expect 4
8fe44445 853
854.PHONY: unsignedcompare
855unsignedcompare:
11db3170 856 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
8fe44445 857
858
859###
860### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
861###
862
863.PHONY: unused
864unused:
3e3ec469 865 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
866 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
8fe44445 867
868###
869### 2001-06-10: Provided by Jim Zalenka
870###
871
872.PHONY: ullint
873ullint:
11db3170 874 ${SPLINTRN} ullint.c -expect 5
875 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
8fe44445 876
f2b6724f 877###
878### 2001-12-30: Poor warnings reported by Peter Deutsch
879###
ce7034f0 880### 2002-07-03: removed warnings for datatype/macro definitions
881###
f2b6724f 882
883.PHONY: utypes
884utypes:
ce7034f0 885 ${SPLINTRN} utypes.c -expect 2
f2b6724f 886
887###
888
8fe44445 889.PHONY: void
890void:
11db3170 891 ${SPLINTRN} void.c -expect 2
8fe44445 892
e0b363ad 893###
894### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
895###
896
897.PHONY: widestrings
898widestrings:
899 ${SPLINTRN} widestrings.c -expect 2
900
8fe44445 901###
902### New since 2.5q:
903###
904
905.PHONY: linked
906linked:
11db3170 907 ${SPLINTR} linked.c -expect 4
908 ${SPLINTR} linked2.c -expect 3
909 ${SPLINTR} linked3.c -expect 5
910 ${SPLINTR} linked4.c -expect 6
911 ${SPLINTR} linked5.c -expect 4
912 ${SPLINTR} linked6.c -expect 4
8fe44445 913
914.PHONY: freearray
915freearray:
11db3170 916 ${SPLINTR} freearray.c -expect 1
8fe44445 917
a469ccf0 918.PHONY: sizeof
919sizeof:
bb7c2085 920 -$(SPLINTR) +bounds sizeof.c -expect 1
a469ccf0 921
922.PHONY: buffertest
923buffertest:
bb7c2085 924 -$(SPLINTR) +bounds buffertest1.c -expect 5
8fe44445 925
926## Integration Tests
927
928## evans 2000-12-22
929## db2: 2 errors are no longer reported, since eref is immutable.
930## Need to clarify what it means for an object to be immutable;
931## there should be 2 types with different storage requirements.
932
8fe44445 933.PHONY: $(SUBDIRTESTS)
934$(SUBDIRTESTS):
11db3170 935 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
a469ccf0 936
6c9a3167 937#drl 11/29/2001 This is a very ugly hack to get make dist to work
5e3bf5ad 938EXTRA_DIST = ./abst_t.lcl \
939 ./abstptr.lcl \
940 ./alias.lcl \
941 ./alias2.lcl \
6c9a3167 942 ./alias3.lcl \
943 ./db1/erc.lcl \
944 ./db1/bool.lcl \
945 ./db1/dbase.lcl \
946 ./db1/employee.lcl \
947 ./db1/empset.lcl \
948 ./db1/eref.lcl \
949 ./db1/ereftab.lcl \
6c9a3167 950 ./alias4.lcl \
6c9a3167 951 ./alias5.lcl \
6c9a3167 952 ./argorder2.lcl \
6c9a3167 953 ./argorder4.lcl \
6c9a3167 954 ./args.lcl \
6c9a3167 955 ./cast.lcl \
6c9a3167 956 ./decl2.lcl \
6c9a3167 957 ./empty.lcl \
958 ./enum.lcl \
6c9a3167 959 ./glob.lcl \
6c9a3167 960 ./impabstract.lcl \
6c9a3167 961 ./iter.lcl \
6c9a3167 962 ./macros.lcl \
6c9a3167 963 ./macrosef.lcl \
6c9a3167 964 ./modtest.lcl \
6c9a3167 965 ./mut.lcl \
6c9a3167 966 ./mut.lh.expect \
967 ./db2/dbase.lcl \
968 ./db2/employee.lcl \
969 ./db2/empset.lcl \
970 ./db2/erc.lcl \
971 ./db2/eref.lcl \
972 ./db2/ereftab.lcl \
973 ./db2/etest.lcl \
6c9a3167 974 ./null6.lcl \
6c9a3167 975 ./observer.lcl \
6c9a3167 976 ./oldstyle.lcl \
6c9a3167 977 ./outglob.lcl \
6c9a3167 978 ./outparam.lcl \
11db3170 979 ./rc1.splintrc \
980 ./rc2.splintrc \
981 ./rc3.splintrc \
982 ./rc3.splintrc.os2 \
6c9a3167 983 ./repexpose.lcl \
6c9a3167 984 ./repexpose.lh.expect \
985 ./special.lcl \
11db3170 986 ./db3/.splintrc \
6c9a3167 987 ./db3/bool.lcl \
988 ./db3/check.lcl \
989 ./db3/dbase.lcl \
990 ./db3/employee.lcl \
991 ./db3/empset.lcl \
992 ./db3/erc.lcl \
993 ./db3/eref.lcl \
994 ./db3/ereftab.lcl \
995 ./tq.lcl \
6c9a3167 996 ./ud2.lcl \
11db3170 997 ./for/.splintrc \
998 ./globalbufferannotation/.splintrc \
999 ./maxset/.splintrc \
1000 ./strchr/.splintrc \
6c9a3167 1001 ./tests2.2/bool.lcl \
6c9a3167 1002 ./tests2.4/subdir/main.lcl \
6c9a3167 1003 ./abstptr.c \
1004 ./alias.c \
1005 ./alias2.c \
1006 ./alias3.c \
1007 ./db1/dbase.c \
1008 ./db1/drive.c \
1009 ./db1/employee.c \
1010 ./db1/empset.c \
1011 ./db1/erc.c \
1012 ./db1/eref.c \
1013 ./db1/ereftab.c \
1014 ./alias4.c \
1015 ./alias5.c \
1016 ./alttypes.c \
1017 ./ansireserved.c \
1018 ./ansireserved2.c \
1019 ./argorder.c \
1020 ./argorder2.c \
1021 ./argorder3.c \
1022 ./argorder4.c \
1023 ./argorder5.c \
1024 ./args.c \
1025 ./arrayinit.c \
37ae0b5e 1026 ./arraylit.c \
6c9a3167 1027 ./blocks.c \
1028 ./branchstate.c \
1029 ./break.c \
1030 ./cases.c \
1031 ./buffertest1.c \
1032 ./cases2.c \
1033 ./cast.c \
1034 ./cast2.c \
755ee3f6 1035 ./chararraylit.c \
6c9a3167 1036 ./charlit.c \
1037 ./clauses.c \
1038 ./clauses2.c \
1039 ./clauses3.c \
1040 ./commentchar.c \
1041 ./commentcmd.c \
1042 ./compdestroy.c \
abd7f895 1043 ./compoundliterals.c ./compoundliterals.expect \
1044 ./compoundstmt.c ./compoundstmt.expect \
6c9a3167 1045 ./csyntax.c \
1046 ./constannot.c \
1047 ./controldepth.c \
1048 ./csyntax10.c \
1049 ./csyntax11.c \
1050 ./csyntax12.c \
1051 ./csyntax13.c \
1052 ./csyntax14.c \
1053 ./csyntax15.c \
1054 ./csyntax16.c \
1055 ./csyntax17.c \
1056 ./csyntax2.c \
1057 ./csyntax3.c \
1058 ./csyntax4.c \
1059 ./csyntax5.c \
1060 ./csyntax6.c \
1061 ./csyntax7.c \
1062 ./csyntax8.c \
1063 ./csyntax9.c \
1064 ./czechnames.c \
1065 ./czechoslovaknames.c \
1066 ./deadparam.c \
1067 ./decl.c \
1068 ./decl2.c \
1069 ./dkf5kEnum.c \
1070 ./dkf5kRange.c \
1071 ./dkf5kSprintf.c \
1072 ./ensures.c \
1073 ./enum.c \
140c27a8 1074 ./enumtag.c \
6c9a3167 1075 ./exports.c \
1076 ./external.c \
1077 ./fields.c \
1078 ./fields2.c \
1079 ./fields3.c \
1080 ./flags.c \
1081 ./glob.c \
1082 ./forbody.c \
1083 ./format.c \
1084 ./freearray.c \
1085 ./funcpointer.c \
1086 ./globals.c \
1087 ./globals2.c \
1088 ./impabstract.c \
1089 ./init.c \
1090 ./innerfree.c \
1091 ./inparam.c \
1092 ./internal.c \
1093 ./iter.c \
1094 ./iter2.c \
1095 ./keep.c \
1096 ./libs.c \
1097 ./linked.c \
1098 ./linked2.c \
1099 ./linked3.c \
1100 ./linked4.c \
1101 ./linked5.c \
1102 ./linked6.c \
1103 ./lintcomments.c \
1104 ./list.c \
1105 ./longconstants.c \
1106 ./macros.c \
1107 ./macrosef.c \
1108 ./merge.c \
1109 ./modclient.c \
1110 ./modifies.c \
1111 ./modtest.c \
1112 ./moduncon.c \
1113 ./mongoincludes.c \
1114 ./mparen.c \
1115 ./mut.c \
1116 ./mystrncat.c \
1117 ./noeffect.c \
1118 ./null1.c \
1119 ./null2.c \
1120 ./null3.c \
1121 ./null4.c \
1122 ./null5.c \
1123 ./db2/dbase.c \
1124 ./db2/drive.c \
1125 ./db2/employee.c \
1126 ./db2/empset.c \
1127 ./db2/erc.c \
1128 ./db2/eref.c \
1129 ./db2/ereftab.c \
1130 ./db2/etest.c \
1131 ./null6.c \
1132 ./nullassign.c \
1133 ./nullret.c \
1134 ./observer.c \
1135 ./oldstyle.c \
1136 ./outglob.c \
1137 ./outparam.c \
1138 ./postnotnull.c \
1139 ./preds.c \
1140 ./prefixes.c \
1141 ./printflike.c \
1142 ./rc.c \
1143 ./refcounts.c \
1144 ./release.c \
1145 ./repexpose.c \
1146 ./returned.c \
1147 ./sharing1.c \
1148 ./sharing2.c \
1149 ./sharing3.c \
1150 ./sharing4.c \
1151 ./sharing5.c \
1152 ./sizeof.c \
1153 ./slovaknames.c \
1154 ./specclauses.c \
1155 ./specclauses2.c \
1156 ./specclauses3.c \
1157 ./specclauses4.c \
1158 ./specclauses5.c \
1159 ./specclauses6.c \
1160 ./special.c \
1161 ./stack.c \
1162 ./staticarray.c \
1163 ./strings.c \
1164 ./structassign.c \
1165 ./switch.c \
1166 ./t1.c \
1167 ./test.c \
1168 ./db3/dbase.c \
1169 ./db3/drive.c \
1170 ./db3/employee.c \
1171 ./db3/empset.c \
1172 ./db3/erc.c \
1173 ./db3/eref.c \
1174 ./db3/ereftab.c \
1175 ./typequals.c \
1176 ./ud.c \
1177 ./ud2.c \
1178 ./ullint.c \
1179 ./ulstypes.c \
1180 ./union.c \
1181 ./unreachable.c \
1182 ./unsignedcompare.c \
288cbc5c 1183 ./unnamedsu.c \
6c9a3167 1184 ./unused.c \
1185 ./void.c \
1186 ./conditions/miroslaw.c \
1187 ./conditions/releases.c \
1188 ./fileio/file.c \
1189 ./fileio/filebranch.c \
1190 ./fileio/filerw.c \
1191 ./for/for.c \
1192 ./globalbufferannotation/globalvariable.c \
1193 ./maxset/maxsetannotations.c \
1194 ./maxset/maxsetnoannotations.c \
1195 ./mergestate/taintednm.c \
1196 ./metastate/file.c \
1197 ./metastate/file1.c \
1198 ./metastate/file2.c \
1199 ./metastate/file3.c \
1200 ./metastate/file4.c \
1201 ./metastate/file5.c \
1202 ./metastate/file6.c \
1203 ./metastate/file7.c \
1204 ./metastate/filebad.c \
1205 ./metastate/global.c \
1206 ./metastate/nullbranch.c \
1207 ./metastate/nullbranch2.c \
1208 ./metastate/nullret.c \
1209 ./metastate/osd.c \
1210 ./metastate/sockets.c \
1211 ./metastate/sockets2.c \
1212 ./metastate/struct.c \
1213 ./metastate/test.c \
1214 ./metastate/voidptr.c \
1215 ./moreBufferTests/initialization.c \
1216 ./moreBufferTests/simplifyTest.c \
1217 ./moreBufferTests/strncatNotReallyGood.c \
1218 ./moreBufferTests/strncatReallyGood.c \
1219 ./moreBufferTests/strrchr.c \
1220 ./moreBufferTests/unrecogCall.c \
1221 ./nullterminatedtest/buggy1.c \
1222 ./nullterminatedtest/buggy_support1.c \
1223 ./nullterminatedtest/buggy_support_fmakeword.c \
1224 ./nullterminatedtest/test1.c \
1225 ./nullterminatedtest/test3.c \
1226 ./simplebufferConstraintTests/m.c \
1227 ./simplebufferConstraintTests/sizeof.c \
1228 ./simplebufferConstraintTests/test3.c \
1229 ./simplebufferConstraintTests/test7.c \
1230 ./sizeoftest/sizeof.c \
1231 ./strchr/strchr.c \
1232 ./suppressfile/test.c \
1233 ./tainted/sprintf.c \
1234 ./tainted/t1.c \
1235 ./tainted/tainted.c \
1236 ./tainted/tainted2.c \
1237 ./tainted/tainted3.c \
1238 ./tainted/tainted4.c \
1239 ./tainted/tainted5.c \
1240 ./tainted/taintedimplicit.c \
1241 ./tainted/taintedmerge.c \
1242 ./tainted/taintedx.c \
1243 ./tainted/test.c \
1244 ./tclauses/globals.c \
1245 ./tclauses/gt.c \
1246 ./tclauses/modifies.c \
1247 ./tclauses/struct.c \
1248 ./tclauses/undef.c \
1249 ./tests2.2/arbints.c \
1250 ./tests2.2/arrayfcn.c \
1251 ./tests2.2/booldef.c \
1252 ./tests2.2/boolenum.c \
1253 ./tests2.2/boolops.c \
1254 ./tests2.2/break.c \
1255 ./tests2.2/bstring.c \
1256 ./tests2.2/decl.c \
1257 ./tests2.2/enumbool.c \
1258 ./tests2.2/extension.c \
1259 ./tests2.2/libraries.c \
1260 ./tests2.2/modarray.c \
1261 ./tests2.2/nestext.c \
1262 ./tests2.2/offsetof.c \
1263 ./tests2.2/posix.c \
1264 ./tests2.2/realloc.c \
1265 ./tests2.2/rex.c \
1266 ./tests2.2/sizeofarray.c \
1267 ./tests2.2/struct.c \
1268 ./tests2.2a/addassign.c \
1269 ./tests2.2a/arrayparam.c \
1270 ./tests2.2a/bitops.c \
1271 ./tests2.2a/boolcomp.c \
1272 ./tests2.2a/boolenum.c \
1273 ./tests2.2a/dobb.c \
1274 ./tests2.2a/duff.c \
1275 ./tests2.2a/erik.c \
1276 ./tests2.2a/floatdouble.c \
1277 ./tests2.2a/florian.c \
1278 ./tests2.2a/fred.c \
1279 ./tests2.2a/isalpha.c \
1280 ./tests2.2a/notreached.c \
1281 ./tests2.2a/obviousloop.c \
1282 ./tests2.2a/popik.c \
1283 ./tests2.2a/sizeof.c \
1284 ./tests2.2a/toralf.c \
1285 ./tests2.4/subdir/main.c \
1286 ./tests2.4/alignof.c \
1287 ./tests2.4/array.c \
1288 ./tests2.4/bitfields.c \
1289 ./tests2.4/bug1.c \
1290 ./tests2.4/bug2.c \
1291 ./tests2.4/bug3.c \
1292 ./tests2.4/chin.c \
1293 ./tests2.4/cpptest.c \
1294 ./tests2.4/driverstub.c \
1295 ./tests2.4/duffs.c \
1296 ./tests2.4/emptycase.c \
1297 ./tests2.4/enumtest.c \
1298 ./tests2.4/error.c \
1299 ./tests2.4/fink.c \
1300 ./tests2.4/flagequal.c \
1301 ./tests2.4/forward.c \
1302 ./tests2.4/hash.c \
1303 ./tests2.4/hexconstants.c \
1304 ./tests2.4/innercomment.c \
1305 ./tests2.4/komazi.c \
1306 ./tests2.4/longlong.c \
1307 ./tests2.4/main.c \
1308 ./tests2.4/nothing.c \
1309 ./tests2.4/offsetof.c \
1310 ./tests2.4/print.c \
1311 ./tests2.4/ric.c \
1312 ./tests2.4/syncomment.c \
1313 ./tests2.4/syslog.c \
1314 ./tests2.4/test0.c \
1315 ./tests2.4/test1.c \
1316 ./tests2.4/test2.c \
1317 ./tests2.4/timecard.c \
1318 ./tests2.4/toothman.c \
1319 ./tests2.4/ulrich.c \
1320 ./tests2.5/badcomment.c \
1321 ./tests2.5/boolbad.c \
1322 ./tests2.5/boolt.c \
1323 ./tests2.5/booltest.c \
1324 ./tests2.5/dummyfile.c \
1325 ./tests2.5/hoof.c \
1326 ./tests2.5/immutable.c \
1327 ./tests2.5/impabsmodule.c \
1328 ./tests2.5/literals.c \
1329 ./tests2.5/quals.c \
1330 ./tests2.5/sort.c \
1331 ./tests2.5/testalt.c \
1332 ./tests2.5/testimmutable.c \
1333 ./tests2.5/uconstants.c \
1334 ./tests2.5/ull.c \
1335 ./warnuse/warnflags.c \
1336 ./warnuse/warngets.c \
1337 ./warnuse/warnuse.c \
1338 ./moreBufferTests2/unknownsize.c \
1339 ./moreBufferTests2/arrayConstExpr.c \
1340 abstptr.expect \
1341 abstract.expect \
1342 alias.expect \
1343 alttypes.expect \
1344 ansireserved.expect \
1345 argorder.expect \
1346 args.expect \
1347 arrayinit.expect \
37ae0b5e 1348 arraylit.expect \
6c9a3167 1349 blocks.expect \
1350 branchstate.expect \
1351 break.expect \
1352 buffertest.expect \
1353 cases.expect \
1354 cast.expect \
755ee3f6 1355 chararraylit.expect \
6c9a3167 1356 charlit.expect \
1357 clauses.expect \
1358 commentchar.expect \
1359 compdestroy.expect \
1360 constannot.expect \
1361 controldepth.expect \
1362 csyntax.expect \
1363 czechnames.expect \
1364 czechoslovaknames.expect \
1365 db1.expect \
1366 db2.expect \
1367 db3.expect \
1368 deadparam.expect \
1369 decl.expect \
1370 enum.expect \
140c27a8 1371 enumtag.expect \
6c9a3167 1372 exports.expect \
1373 external.expect \
1374 fields.expect \
1375 fileio.expect \
1376 flags.expect \
1377 for.expect \
1378 forbody.expect \
1379 format.expect \
1380 freearray.expect \
1381 funcpointer.expect \
1382 glob.expect \
1383 globalbufferannotation.expect \
1384 globals.expect \
1385 help.expect \
1386 impabstract.expect \
1387 init.expect \
1388 inparam.expect \
1389 internal.expect \
1390 iter.expect \
1391 keep.expect \
1392 libs.expect \
1393 linked.expect \
1394 lintcomments.expect \
1395 list.expect \
1396 longconstants.expect \
1397 macros.expect \
1398 macrosef.expect \
1399 maxset.expect \
1400 merge.expect \
1401 mergestate.expect \
1402 metastate.expect \
1403 modifies.expect \
1404 modtest.expect \
1405 moduncon.expect \
1406 mongoincludes.expect \
1407 moreBufferTests.expect \
1408 moreBufferTests2.expect \
1409 mut.lh.expect \
1410 mystrncat.expect \
1411 noeffect.expect \
1412 null.expect \
1413 nullterminatedtest.expect \
1414 observer.expect \
1415 oldstyle.expect \
1416 outglob.expect \
1417 outparam.expect \
1418 postnotnull.expect \
1419 preds.expect \
1420 prefixes.expect \
1421 printflike.expect \
1422 rc.expect \
1423 refcounts.expect \
1424 release.expect \
1425 repexpose.expect \
1426 repexpose.lh.expect \
1427 returned.expect \
1428 sharing.expect \
1429 simplebufferConstraintTests.expect \
1430 sizeof.expect \
1431 sizeoftest.expect \
1432 slovaknames.expect \
1433 specclauses.expect \
1434 special.expect \
1435 stack.expect \
1436 staticarray.expect \
1437 strchr.expect \
1438 strings.expect \
1439 structassign.expect \
1440 tainted.expect \
1441 tests2.2.expect \
1442 tests2.2a.expect \
1443 tests2.3.expect \
1444 tests2.4.expect \
1445 tests2.5.expect \
1446 typequals.expect \
1447 ud.expect \
1448 ullint.expect \
1449 ulstypes.expect \
1450 union.expect \
288cbc5c 1451 unnamedsu.expect \
6c9a3167 1452 unreachable.expect \
1453 unsignedcompare.expect \
1454 unused.expect \
1455 void.expect \
1456 ./db1/bool.h \
1457 ./db1/dbase.h \
1458 ./db1/employee.h \
1459 ./db1/empset.h \
1460 ./db1/erc.h \
1461 ./db1/eref.h \
1462 ./db1/ereftab.h \
1463 ./bool.h \
1464 ./decl2.h \
1465 ./exports.h \
1466 ./iter.h \
1467 ./iter2.h \
1468 ./minc1.h \
1469 ./minc2.h \
1470 ./minc3.h \
1471 ./minc4.h \
1472 ./minc5.h \
1473 ./modifies.h \
1474 ./mut.h \
1475 ./db2/bool.h \
1476 ./db2/dbase.h \
1477 ./db2/employee.h \
1478 ./db2/empset.h \
1479 ./db2/erc.h \
1480 ./db2/eref.h \
1481 ./db2/ereftab.h \
1482 ./pivo.h \
1483 ./repexpose.h \
1484 ./db3/bool.h \
1485 ./db3/dbase.h \
1486 ./db3/employee.h \
1487 ./db3/empset.h \
1488 ./db3/erc.h \
1489 ./db3/eref.h \
1490 ./db3/ereftab.h \
1491 ./tq.h \
1492 ./metastate/global.h \
1493 ./suppressfile/test.h \
6c9a3167 1494 ./tests2.2/mbool.h \
1495 ./tests2.4/forward.h \
1496 ./tests2.4/hash.h \
1497 ./tests2.4/timecard.h \
1498 ./tests2.5/baz.h \
1499 ./tests2.5/bimbim.h \
1500 ./tests2.5/immutable.h \
1501 ./tests2.5/impabsmodule.h \
1502 ./tests2.5/socket.h \
1503 ./Makefile-test.os2 \
1504 ./db1/Makefile \
1505 ./db2/Makefile \
1506 ./db3/Makefile \
1507 ./conditions/Makefile \
1508 ./fileio/Makefile \
1509 ./for/Makefile \
1510 ./globalbufferannotation/Makefile \
1511 ./maxset/Makefile \
1512 ./mergestate/Makefile \
1513 ./metastate/Makefile \
1514 ./moreBufferTests/Makefile \
1515 ./simplebufferConstraintTests/Makefile \
1516 ./strchr/Makefile \
1517 ./tainted/Makefile \
1518 ./temp/Makefile \
6c9a3167 1519 ./tests2.2/Makefile \
1520 ./tests2.2/Makefile-tests2.2.os2 \
6c9a3167 1521 ./tests2.4/Makefile \
1522 ./tests2.4/Makefile-tests2.4.os2 \
1523 ./tests2.5/Makefile \
1524 ./warnuse/Makefile \
1525 ./Makefile.am \
1526 ./Makefile.in \
1527 ./moreBufferTests2/Makefile \
1528 ./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 \
2bdabb7a 1529 db2.old-expect union.pp warnuse.old-expect \
52e90c0f 1530 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
2bdabb7a 1531 unioninit.expect unioninit.c utypes.c \
1532 utypes.expect widestrings.expect widestrings.c \
1533 functionmacro.expect functionmacro.c info.c info.expect \
52e90c0f 1534 loopexec.c looptesteffect.c mergenull.c shifts.c \
5e3bf5ad 1535 sizesigns.c sizesigns.expect \
2bdabb7a 1536 manual.expect ./manual/Makefile \
98b591d2 1537 ./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 \
1538 arraydims.expect arraydims.c \
7c39a167 1539 moreBufferTests2/fixedArrayType.c oldstyle2.c \
0feddd04 1540 divzero.expect parentype.expect \
1541 divzero.c parentype.c \
1542stringliteral.expect stringliteral.c
This page took 0.29356 seconds and 5 git commands to generate.