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