]> andersk Git - splint.git/blame - test/Makefile.am
- library fixes:
[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)
f9264521 496### 2002-07-08: 2 new errors found (getc modifies errno)
8fe44445 497
498.PHONY: libs
499libs:
3e3ec469 500 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
501 -$(SPLINTR) libs.c -expect 22
502 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
f9264521 503 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 44
8fe44445 504
505.PHONY: lintcomments
506lintcomments:
3e3ec469 507 -$(SPLINTR) lintcomments.c -expect 5
508 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
509 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
8fe44445 510
511.PHONY: list
512list:
3e3ec469 513 -$(SPLINTR) list.c -expect 3
514
515###
516### 2002-01-01: Added test case for obvious loop execution.
517###
518
519.PHONY: loopexec
520loopexec:
521 -$(SPLINTR) loopexec.c -expect 1
522 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
523
52e90c0f 524.PHONY: looptesteffect
525looptesteffect:
526 -$(SPLINTR) looptesteffect.c -expect 1
8fe44445 527
528.PHONY: macros
529macros:
3e3ec469 530 -$(SPLINTR) macros -expect 17
531 -$(SPLINTR) macros.c +allmacros -expect 34
532 -$(SPLINTR) macros.c +fcnmacros -expect 31
8fe44445 533
534
535.PHONY: macrosef
536macrosef:
3e3ec469 537 -$(SPLINTR) macrosef -expect 4
538 -$(SPLINTR) macrosef.c +allmacros -expect 3
539 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
8fe44445 540
541.PHONY: merge
542merge:
3e3ec469 543 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
8fe44445 544
60868d40 545.PHONY: mergenull
546mergenull:
3e3ec469 547 -$(SPLINTRN) mergenull.c
60868d40 548
8fe44445 549.PHONY: modifies
550modifies:
3e3ec469 551 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
8fe44445 552
553.PHONY: modtest
554modtest:
3e3ec469 555 -$(SPLINTR) modtest -expect 10
556 -$(SPLINTR) modtest +modunspec -expect 13
557 -$(SPLINTR) modtest +mustmod -expect 14
8fe44445 558
559.PHONY: moduncon
560moduncon:
3e3ec469 561 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
562 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
8fe44445 563
564.PHONY: mongoincludes
565mongoincludes:
3e3ec469 566 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
567 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
568 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
569 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
570 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
8fe44445 571
572.PHONY: mystrncat
573mystrncat:
bb7c2085 574 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
8fe44445 575
576.PHONY: noeffect
577noeffect:
4dd72714 578 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
8fe44445 579
3e3ec469 580###
581### 2002-01-01: null1.c: expect increased to 15 because out must be defined
582### checking detects one new error
583###
584
8fe44445 585.PHONY: null
586null:
3e3ec469 587 -$(SPLINTR) null1.c -expect 15
588 -$(SPLINTR) null1.c -null -mustdefine -expect 4
589 -$(SPLINTR) null2.c -expect 11
590 -$(SPLINTR) null3.c -expect 15
591 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
592 -$(SPLINTR) null4.c -expect 1
593 -$(SPLINTR) null5.c -expect 4
594 -$(SPLINTR) null6 -expect 4
595 -$(SPLINTR) +quiet null6.lcl -dump null6
596 -$(SPLINTR) null6.c -load null6 -expect 4
8fe44445 597
598### Added for 3.0 (bugs reported by Kevin Broady)
599
600.PHONY: nullret
601nullret:
3e3ec469 602 -$(SPLINTR) nullret.c -expect 2
603 -$(SPLINTR) -nullret nullret.c -expect 1
8fe44445 604
605.PHONY: nullassign
606nullassign:
3e3ec469 607 -$(SPLINTR) nullassign.c -expect 2
608 -$(SPLINTR) -nullassign nullassign.c -expect 1
8fe44445 609
610
611#
612# Before 2.4, expected one more because error was reported both as
613# dependent and observer.
614#
615
616.PHONY: observer
617observer:
3e3ec469 618 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
619 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
620 -$(SPLINTR) observer.c -expect 7
8fe44445 621
622.PHONY: oldstyle
623oldstyle:
7c39a167 624 -$(SPLINTR) oldstyle oldstyle2.c -expect 5
8fe44445 625
626.PHONY: outglob
627outglob:
3e3ec469 628 -$(SPLINTR) outglob -expect 10
8fe44445 629
630.PHONY: outparam
631outparam:
3e3ec469 632 -$(SPLINTR) outparam -expect 12
8fe44445 633
634### evans 2001-08-26: postnotnull new
635
636.PHONY: postnotnull
637postnotnull:
11db3170 638 ${SPLINTR} postnotnull.c -expect 1
e8b84478 639
640### evans 2002-02-09: added parentype.c
641.PHONY: parentype
642parentype:
643 ${SPLINTR} parentype.c
644
8fe44445 645#
646# Four new +fcnuse errors for -strict (evans 2001-07-22)
647#
648
649.PHONY: preds
650preds:
3e3ec469 651 -$(SPLINTR) +hints preds.c -expect 6
652 -$(SPLINTRN) +hints preds.c -weak -expect 1
653 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
8fe44445 654
655.PHONY: prefixes
656prefixes:
3e3ec469 657 -$(SPLINTR) prefixes.c +partial
658 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
659 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
660 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
661 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
662 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
663 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
664 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
665 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
666 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
667 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
668 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
669 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
670 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
671 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
672 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
8fe44445 673
674.PHONY: printflike
675printflike:
3e3ec469 676 -$(SPLINTR) printflike.c -expect 6
677 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
8fe44445 678
679.PHONY: rc
680rc:
3e3ec469 681 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
682 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
683 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
684 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
685 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
8fe44445 686
60868d40 687.PHONY: rcfiles
688rcfiles:
3e3ec469 689 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
60868d40 690
8fe44445 691.PHONY: refcounts
692refcounts:
3e3ec469 693 -$(SPLINTR) refcounts.c -expect 7
8fe44445 694
695.PHONY: release
696release:
3e3ec469 697 -$(SPLINTR) release.c +memchecks -expect 1
8fe44445 698
699.PHONY: repexpose
700repexpose:
3e3ec469 701 -$(SPLINTR) +lh repexpose +memchecks -expect 12
702 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
703 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
8fe44445 704
705### returned added 2001-05-27
11db3170 706### (Bug discovered checking splint sources.)
8fe44445 707
708.PHONY: returned
709returned:
11db3170 710 ${SPLINTR} returned.c -expect 1
8fe44445 711
712.PHONY: sharing
713sharing:
3e3ec469 714 -$(SPLINTR) sharing1.c -expect 21
715 -$(SPLINTR) sharing3.c -expect 3
716 -$(SPLINTR) sharing4.c -expect 13
717 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
718 -$(SPLINTR) sharing5.c -expect 6
8fe44445 719
a956d444 720.PHONY: shifts
721shifts:
722 -$(SPLINTR) shifts.c -expect 4
723 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
724 -$(SPLINTR) shifts.c -shiftnegative -expect 1
725
8fe44445 726.PHONY: slovaknames
727slovaknames:
3e3ec469 728 -$(SPLINTR) +hints slovaknames.c -expect 1
729 -$(SPLINTR) +hints slovaknames.c +accessslovak
730 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
731 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
732 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
8fe44445 733
734.PHONY: specclauses
735specclauses:
3e3ec469 736 -$(SPLINTR) specclauses.c -expect 6
737 -$(SPLINTR) specclauses2.c -expect 8
738 -$(SPLINTR) specclauses3.c -expect 6
739 -$(SPLINTR) specclauses4.c -expect 3
740 -$(SPLINTR) specclauses5.c -expect 3
741
742.PHONY: specclauses1
743specclauses1:
744 -$(SPLINTR) specclauses.c -expect 6
745
746.PHONY: specclauses2
747specclauses2:
748 -$(SPLINTR) specclauses2.c -expect 8
749
750.PHONY: specclauses3
751specclauses3:
752 -$(SPLINTR) specclauses3.c -expect 6
753
754.PHONY: specclauses4
755specclauses4:
756 -$(SPLINTR) specclauses4.c -expect 3
757
758.PHONY: specclauses5
759specclauses5:
760 -$(SPLINTR) specclauses5.c -expect 3
8fe44445 761
762.PHONY: special
763special:
3e3ec469 764 -$(SPLINTR) special -expect 20
765 -$(SPLINTR) special -relaxquals -expect 22
8fe44445 766
767.PHONY: stack
768stack:
3e3ec469 769 -$(SPLINTR) stack.c -expect 5
770 -$(SPLINTR) stack.c -stackref
8fe44445 771
772.PHONY: staticarray
773staticarray:
3e3ec469 774 -$(SPLINTR) staticarray.c -expect 3
8fe44445 775
37ae0b5e 776###
777### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
778###
779
98b591d2 780.PHONY: stringliteral
781stringliteral:
37ae0b5e 782 -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
783 -$(SPLINTR) stringliteral.c -expect 4
98b591d2 784
8fe44445 785.PHONY: strings
786strings:
3e3ec469 787 -$(SPLINTR) strings.c -expect 3
788 -$(SPLINTR) -readonlystrings -expect 1 strings.c
789 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
8fe44445 790
791.PHONY: structassign
792structassign:
3e3ec469 793 -$(SPLINTR) structassign.c -expect 4
8fe44445 794
abd7f895 795.PHONY: typeof
796typeof:
797 -$(SPLINTR) typeof.c -expect 2
798
8fe44445 799.PHONY: typequals
800typequals:
3e3ec469 801 -$(SPLINTR) typequals.c tq.lcl -expect 5
802 -$(SPLINTR) typequals.c -expect 2
8fe44445 803
804.PHONY: ud
805ud:
3e3ec469 806 -$(SPLINTR) ud.c -expect 9
807 -$(SPLINTR) ud2 -specundef -expect 3
8fe44445 808
809.PHONY: ulstypes
810ulstypes:
3e3ec469 811 -$(SPLINTR) ulstypes.c -expect 8
812 -$(SPLINTR) ulstypes.c +ignorequals
813 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
146e25eb 814
8fe44445 815# 3 more detected with version 2.5 (change in -numliteral setting)
816
817.PHONY: union
818union:
3e3ec469 819 -$(SPLINTR) +memchecks union.c -expect 8
8fe44445 820
146e25eb 821###
822### Added 2001-12-30: fixed union initializer checking in response to
823### bug report from Jim Zelenka.
824###
825
826.PHONY: unioninit
827unioninit:
3e3ec469 828 -$(SPLINTR) unioninit.c -expect 2
146e25eb 829
288cbc5c 830.PHONY: unnamedsu
831unnamedsu:
832 -$(SPLINTR) unnamedsu.c -expect 0
833
8fe44445 834.PHONY: unreachable
835unreachable:
3e3ec469 836 -$(SPLINTR) unreachable.c -expect 5
837 -$(SPLINTR) -unreachable unreachable.c -expect 2
838 -$(SPLINTR) switch.c -expect 4
8fe44445 839
840.PHONY: unsignedcompare
841unsignedcompare:
11db3170 842 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
8fe44445 843
844
845###
846### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
847###
848
849.PHONY: unused
850unused:
3e3ec469 851 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
852 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
8fe44445 853
854###
855### 2001-06-10: Provided by Jim Zalenka
856###
857
858.PHONY: ullint
859ullint:
11db3170 860 ${SPLINTRN} ullint.c -expect 5
861 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
8fe44445 862
f2b6724f 863###
864### 2001-12-30: Poor warnings reported by Peter Deutsch
865###
ce7034f0 866### 2002-07-03: removed warnings for datatype/macro definitions
867###
f2b6724f 868
869.PHONY: utypes
870utypes:
ce7034f0 871 ${SPLINTRN} utypes.c -expect 2
f2b6724f 872
873###
874
8fe44445 875.PHONY: void
876void:
11db3170 877 ${SPLINTRN} void.c -expect 2
8fe44445 878
e0b363ad 879###
880### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
881###
882
883.PHONY: widestrings
884widestrings:
885 ${SPLINTRN} widestrings.c -expect 2
886
8fe44445 887###
888### New since 2.5q:
889###
890
891.PHONY: linked
892linked:
11db3170 893 ${SPLINTR} linked.c -expect 4
894 ${SPLINTR} linked2.c -expect 3
895 ${SPLINTR} linked3.c -expect 5
896 ${SPLINTR} linked4.c -expect 6
897 ${SPLINTR} linked5.c -expect 4
898 ${SPLINTR} linked6.c -expect 4
8fe44445 899
900.PHONY: freearray
901freearray:
11db3170 902 ${SPLINTR} freearray.c -expect 1
8fe44445 903
a469ccf0 904.PHONY: sizeof
905sizeof:
bb7c2085 906 -$(SPLINTR) +bounds sizeof.c -expect 1
a469ccf0 907
908.PHONY: buffertest
909buffertest:
bb7c2085 910 -$(SPLINTR) +bounds buffertest1.c -expect 5
8fe44445 911
912## Integration Tests
913
914## evans 2000-12-22
915## db2: 2 errors are no longer reported, since eref is immutable.
916## Need to clarify what it means for an object to be immutable;
917## there should be 2 types with different storage requirements.
918
8fe44445 919.PHONY: $(SUBDIRTESTS)
920$(SUBDIRTESTS):
11db3170 921 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
a469ccf0 922
6c9a3167 923#drl 11/29/2001 This is a very ugly hack to get make dist to work
924EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
925 ./abstptr.lcl ./abstptr.lcs \
926 ./alias.lcl ./alias.lcs \
927 ./alias2.lcl ./alias2.lcs \
928 ./alias3.lcl \
929 ./db1/erc.lcl \
930 ./db1/bool.lcl \
931 ./db1/dbase.lcl \
932 ./db1/employee.lcl \
933 ./db1/empset.lcl \
934 ./db1/eref.lcl \
935 ./db1/ereftab.lcl \
936 ./alias3.lcs \
937 ./alias3.lh \
938 ./alias4.lcl \
939 ./alias4.lcs \
940 ./alias4.lh \
941 ./alias5.lcl \
942 ./alias5.lcs \
943 ./alias5.lh \
944 ./argorder2.lcl \
945 ./argorder2.lcs \
946 ./argorder4.lcl \
947 ./argorder4.lcs \
948 ./args.lcl \
949 ./args.lcs \
950 ./cast.lcl \
951 ./cast.lcs \
952 ./decl2.lcl \
953 ./decl2.lcs \
954 ./empty.lcl \
955 ./enum.lcl \
956 ./enum.lcs \
957 ./glob.lcl \
958 ./glob.lcs \
959 ./impabstract.lcl \
960 ./impabstract.lcs \
961 ./iter.lcl \
962 ./iter.lcs \
963 ./macros.lcl \
964 ./macros.lcs \
965 ./macrosef.lcl \
966 ./macrosef.lcs \
967 ./modtest.lcl \
968 ./modtest.lcs \
969 ./mut.lcl \
970 ./mut.lcs \
971 ./mut.lh \
972 ./mut.lh.expect \
973 ./db2/dbase.lcl \
974 ./db2/employee.lcl \
975 ./db2/empset.lcl \
976 ./db2/erc.lcl \
977 ./db2/eref.lcl \
978 ./db2/ereftab.lcl \
979 ./db2/etest.lcl \
980 ./null6.lcd \
981 ./null6.lcl \
982 ./null6.lcs \
983 ./observer.lcl \
984 ./observer.lcs \
985 ./oldstyle.lcl \
986 ./oldstyle.lcs \
987 ./outglob.lcl \
988 ./outglob.lcs \
989 ./outparam.lcl \
990 ./outparam.lcs \
11db3170 991 ./rc1.splintrc \
992 ./rc2.splintrc \
993 ./rc3.splintrc \
994 ./rc3.splintrc.os2 \
6c9a3167 995 ./repexpose.lcl \
996 ./repexpose.lcs \
997 ./repexpose.lh \
998 ./repexpose.lh.expect \
999 ./special.lcl \
1000 ./special.lcs \
11db3170 1001 ./db3/.splintrc \
6c9a3167 1002 ./db3/bool.lcl \
1003 ./db3/check.lcl \
1004 ./db3/dbase.lcl \
1005 ./db3/employee.lcl \
1006 ./db3/empset.lcl \
1007 ./db3/erc.lcl \
1008 ./db3/eref.lcl \
1009 ./db3/ereftab.lcl \
1010 ./tq.lcl \
1011 ./tq.lcs \
1012 ./ud2.lcl \
1013 ./ud2.lcs \
11db3170 1014 ./for/.splintrc \
1015 ./globalbufferannotation/.splintrc \
1016 ./maxset/.splintrc \
1017 ./strchr/.splintrc \
6c9a3167 1018 ./tests2.2/bool.lcl \
1019 ./tests2.2/bool.lcs \
1020 ./tests2.2/libraries.lcd \
1021 ./tests2.2/obsolete.lcd \
1022 ./tests2.2/oldversion.lcd \
1023 ./tests2.4/subdir/main.lcl \
1024 ./tests2.4/subdir/main.lcs \
1025 ./tests2.5/newlint.lcd \
1026 ./warnuse/warnuse.lcd \
1027 ./empty.lcs \
1028 ./abstptr.c \
1029 ./alias.c \
1030 ./alias2.c \
1031 ./alias3.c \
1032 ./db1/dbase.c \
1033 ./db1/drive.c \
1034 ./db1/employee.c \
1035 ./db1/empset.c \
1036 ./db1/erc.c \
1037 ./db1/eref.c \
1038 ./db1/ereftab.c \
1039 ./alias4.c \
1040 ./alias5.c \
1041 ./alttypes.c \
1042 ./ansireserved.c \
1043 ./ansireserved2.c \
1044 ./argorder.c \
1045 ./argorder2.c \
1046 ./argorder3.c \
1047 ./argorder4.c \
1048 ./argorder5.c \
1049 ./args.c \
1050 ./arrayinit.c \
37ae0b5e 1051 ./arraylit.c \
6c9a3167 1052 ./blocks.c \
1053 ./branchstate.c \
1054 ./break.c \
1055 ./cases.c \
1056 ./buffertest1.c \
1057 ./cases2.c \
1058 ./cast.c \
1059 ./cast2.c \
755ee3f6 1060 ./chararraylit.c \
6c9a3167 1061 ./charlit.c \
1062 ./clauses.c \
1063 ./clauses2.c \
1064 ./clauses3.c \
1065 ./commentchar.c \
1066 ./commentcmd.c \
1067 ./compdestroy.c \
abd7f895 1068 ./compoundliterals.c ./compoundliterals.expect \
1069 ./compoundstmt.c ./compoundstmt.expect \
6c9a3167 1070 ./csyntax.c \
1071 ./constannot.c \
1072 ./controldepth.c \
1073 ./csyntax10.c \
1074 ./csyntax11.c \
1075 ./csyntax12.c \
1076 ./csyntax13.c \
1077 ./csyntax14.c \
1078 ./csyntax15.c \
1079 ./csyntax16.c \
1080 ./csyntax17.c \
1081 ./csyntax2.c \
1082 ./csyntax3.c \
1083 ./csyntax4.c \
1084 ./csyntax5.c \
1085 ./csyntax6.c \
1086 ./csyntax7.c \
1087 ./csyntax8.c \
1088 ./csyntax9.c \
1089 ./czechnames.c \
1090 ./czechoslovaknames.c \
1091 ./deadparam.c \
1092 ./decl.c \
1093 ./decl2.c \
1094 ./dkf5kEnum.c \
1095 ./dkf5kRange.c \
1096 ./dkf5kSprintf.c \
1097 ./ensures.c \
1098 ./enum.c \
140c27a8 1099 ./enumtag.c \
6c9a3167 1100 ./exports.c \
1101 ./external.c \
1102 ./fields.c \
1103 ./fields2.c \
1104 ./fields3.c \
1105 ./flags.c \
1106 ./glob.c \
1107 ./forbody.c \
1108 ./format.c \
1109 ./freearray.c \
1110 ./funcpointer.c \
1111 ./globals.c \
1112 ./globals2.c \
1113 ./impabstract.c \
1114 ./init.c \
1115 ./innerfree.c \
1116 ./inparam.c \
1117 ./internal.c \
1118 ./iter.c \
1119 ./iter2.c \
1120 ./keep.c \
1121 ./libs.c \
1122 ./linked.c \
1123 ./linked2.c \
1124 ./linked3.c \
1125 ./linked4.c \
1126 ./linked5.c \
1127 ./linked6.c \
1128 ./lintcomments.c \
1129 ./list.c \
1130 ./longconstants.c \
1131 ./macros.c \
1132 ./macrosef.c \
1133 ./merge.c \
1134 ./modclient.c \
1135 ./modifies.c \
1136 ./modtest.c \
1137 ./moduncon.c \
1138 ./mongoincludes.c \
1139 ./mparen.c \
1140 ./mut.c \
1141 ./mystrncat.c \
1142 ./noeffect.c \
1143 ./null1.c \
1144 ./null2.c \
1145 ./null3.c \
1146 ./null4.c \
1147 ./null5.c \
1148 ./db2/dbase.c \
1149 ./db2/drive.c \
1150 ./db2/employee.c \
1151 ./db2/empset.c \
1152 ./db2/erc.c \
1153 ./db2/eref.c \
1154 ./db2/ereftab.c \
1155 ./db2/etest.c \
1156 ./null6.c \
1157 ./nullassign.c \
1158 ./nullret.c \
1159 ./observer.c \
1160 ./oldstyle.c \
1161 ./outglob.c \
1162 ./outparam.c \
1163 ./postnotnull.c \
1164 ./preds.c \
1165 ./prefixes.c \
1166 ./printflike.c \
1167 ./rc.c \
1168 ./refcounts.c \
1169 ./release.c \
1170 ./repexpose.c \
1171 ./returned.c \
1172 ./sharing1.c \
1173 ./sharing2.c \
1174 ./sharing3.c \
1175 ./sharing4.c \
1176 ./sharing5.c \
1177 ./sizeof.c \
1178 ./slovaknames.c \
1179 ./specclauses.c \
1180 ./specclauses2.c \
1181 ./specclauses3.c \
1182 ./specclauses4.c \
1183 ./specclauses5.c \
1184 ./specclauses6.c \
1185 ./special.c \
1186 ./stack.c \
1187 ./staticarray.c \
1188 ./strings.c \
1189 ./structassign.c \
1190 ./switch.c \
1191 ./t1.c \
1192 ./test.c \
1193 ./db3/dbase.c \
1194 ./db3/drive.c \
1195 ./db3/employee.c \
1196 ./db3/empset.c \
1197 ./db3/erc.c \
1198 ./db3/eref.c \
1199 ./db3/ereftab.c \
1200 ./typequals.c \
1201 ./ud.c \
1202 ./ud2.c \
1203 ./ullint.c \
1204 ./ulstypes.c \
1205 ./union.c \
1206 ./unreachable.c \
1207 ./unsignedcompare.c \
288cbc5c 1208 ./unnamedsu.c \
6c9a3167 1209 ./unused.c \
1210 ./void.c \
1211 ./conditions/miroslaw.c \
1212 ./conditions/releases.c \
1213 ./fileio/file.c \
1214 ./fileio/filebranch.c \
1215 ./fileio/filerw.c \
1216 ./for/for.c \
1217 ./globalbufferannotation/globalvariable.c \
1218 ./maxset/maxsetannotations.c \
1219 ./maxset/maxsetnoannotations.c \
1220 ./mergestate/taintednm.c \
1221 ./metastate/file.c \
1222 ./metastate/file1.c \
1223 ./metastate/file2.c \
1224 ./metastate/file3.c \
1225 ./metastate/file4.c \
1226 ./metastate/file5.c \
1227 ./metastate/file6.c \
1228 ./metastate/file7.c \
1229 ./metastate/filebad.c \
1230 ./metastate/global.c \
1231 ./metastate/nullbranch.c \
1232 ./metastate/nullbranch2.c \
1233 ./metastate/nullret.c \
1234 ./metastate/osd.c \
1235 ./metastate/sockets.c \
1236 ./metastate/sockets2.c \
1237 ./metastate/struct.c \
1238 ./metastate/test.c \
1239 ./metastate/voidptr.c \
1240 ./moreBufferTests/initialization.c \
1241 ./moreBufferTests/simplifyTest.c \
1242 ./moreBufferTests/strncatNotReallyGood.c \
1243 ./moreBufferTests/strncatReallyGood.c \
1244 ./moreBufferTests/strrchr.c \
1245 ./moreBufferTests/unrecogCall.c \
1246 ./nullterminatedtest/buggy1.c \
1247 ./nullterminatedtest/buggy_support1.c \
1248 ./nullterminatedtest/buggy_support_fmakeword.c \
1249 ./nullterminatedtest/test1.c \
1250 ./nullterminatedtest/test3.c \
1251 ./simplebufferConstraintTests/m.c \
1252 ./simplebufferConstraintTests/sizeof.c \
1253 ./simplebufferConstraintTests/test3.c \
1254 ./simplebufferConstraintTests/test7.c \
1255 ./sizeoftest/sizeof.c \
1256 ./strchr/strchr.c \
1257 ./suppressfile/test.c \
1258 ./tainted/sprintf.c \
1259 ./tainted/t1.c \
1260 ./tainted/tainted.c \
1261 ./tainted/tainted2.c \
1262 ./tainted/tainted3.c \
1263 ./tainted/tainted4.c \
1264 ./tainted/tainted5.c \
1265 ./tainted/taintedimplicit.c \
1266 ./tainted/taintedmerge.c \
1267 ./tainted/taintedx.c \
1268 ./tainted/test.c \
1269 ./tclauses/globals.c \
1270 ./tclauses/gt.c \
1271 ./tclauses/modifies.c \
1272 ./tclauses/struct.c \
1273 ./tclauses/undef.c \
1274 ./tests2.2/arbints.c \
1275 ./tests2.2/arrayfcn.c \
1276 ./tests2.2/booldef.c \
1277 ./tests2.2/boolenum.c \
1278 ./tests2.2/boolops.c \
1279 ./tests2.2/break.c \
1280 ./tests2.2/bstring.c \
1281 ./tests2.2/decl.c \
1282 ./tests2.2/enumbool.c \
1283 ./tests2.2/extension.c \
1284 ./tests2.2/libraries.c \
1285 ./tests2.2/modarray.c \
1286 ./tests2.2/nestext.c \
1287 ./tests2.2/offsetof.c \
1288 ./tests2.2/posix.c \
1289 ./tests2.2/realloc.c \
1290 ./tests2.2/rex.c \
1291 ./tests2.2/sizeofarray.c \
1292 ./tests2.2/struct.c \
1293 ./tests2.2a/addassign.c \
1294 ./tests2.2a/arrayparam.c \
1295 ./tests2.2a/bitops.c \
1296 ./tests2.2a/boolcomp.c \
1297 ./tests2.2a/boolenum.c \
1298 ./tests2.2a/dobb.c \
1299 ./tests2.2a/duff.c \
1300 ./tests2.2a/erik.c \
1301 ./tests2.2a/floatdouble.c \
1302 ./tests2.2a/florian.c \
1303 ./tests2.2a/fred.c \
1304 ./tests2.2a/isalpha.c \
1305 ./tests2.2a/notreached.c \
1306 ./tests2.2a/obviousloop.c \
1307 ./tests2.2a/popik.c \
1308 ./tests2.2a/sizeof.c \
1309 ./tests2.2a/toralf.c \
1310 ./tests2.4/subdir/main.c \
1311 ./tests2.4/alignof.c \
1312 ./tests2.4/array.c \
1313 ./tests2.4/bitfields.c \
1314 ./tests2.4/bug1.c \
1315 ./tests2.4/bug2.c \
1316 ./tests2.4/bug3.c \
1317 ./tests2.4/chin.c \
1318 ./tests2.4/cpptest.c \
1319 ./tests2.4/driverstub.c \
1320 ./tests2.4/duffs.c \
1321 ./tests2.4/emptycase.c \
1322 ./tests2.4/enumtest.c \
1323 ./tests2.4/error.c \
1324 ./tests2.4/fink.c \
1325 ./tests2.4/flagequal.c \
1326 ./tests2.4/forward.c \
1327 ./tests2.4/hash.c \
1328 ./tests2.4/hexconstants.c \
1329 ./tests2.4/innercomment.c \
1330 ./tests2.4/komazi.c \
1331 ./tests2.4/longlong.c \
1332 ./tests2.4/main.c \
1333 ./tests2.4/nothing.c \
1334 ./tests2.4/offsetof.c \
1335 ./tests2.4/print.c \
1336 ./tests2.4/ric.c \
1337 ./tests2.4/syncomment.c \
1338 ./tests2.4/syslog.c \
1339 ./tests2.4/test0.c \
1340 ./tests2.4/test1.c \
1341 ./tests2.4/test2.c \
1342 ./tests2.4/timecard.c \
1343 ./tests2.4/toothman.c \
1344 ./tests2.4/ulrich.c \
1345 ./tests2.5/badcomment.c \
1346 ./tests2.5/boolbad.c \
1347 ./tests2.5/boolt.c \
1348 ./tests2.5/booltest.c \
1349 ./tests2.5/dummyfile.c \
1350 ./tests2.5/hoof.c \
1351 ./tests2.5/immutable.c \
1352 ./tests2.5/impabsmodule.c \
1353 ./tests2.5/literals.c \
1354 ./tests2.5/quals.c \
1355 ./tests2.5/sort.c \
1356 ./tests2.5/testalt.c \
1357 ./tests2.5/testimmutable.c \
1358 ./tests2.5/uconstants.c \
1359 ./tests2.5/ull.c \
1360 ./warnuse/warnflags.c \
1361 ./warnuse/warngets.c \
1362 ./warnuse/warnuse.c \
1363 ./moreBufferTests2/unknownsize.c \
1364 ./moreBufferTests2/arrayConstExpr.c \
1365 abstptr.expect \
1366 abstract.expect \
1367 alias.expect \
1368 alttypes.expect \
1369 ansireserved.expect \
1370 argorder.expect \
1371 args.expect \
1372 arrayinit.expect \
37ae0b5e 1373 arraylit.expect \
6c9a3167 1374 blocks.expect \
1375 branchstate.expect \
1376 break.expect \
1377 buffertest.expect \
1378 cases.expect \
1379 cast.expect \
755ee3f6 1380 chararraylit.expect \
6c9a3167 1381 charlit.expect \
1382 clauses.expect \
1383 commentchar.expect \
1384 compdestroy.expect \
1385 constannot.expect \
1386 controldepth.expect \
1387 csyntax.expect \
1388 czechnames.expect \
1389 czechoslovaknames.expect \
1390 db1.expect \
1391 db2.expect \
1392 db3.expect \
1393 deadparam.expect \
1394 decl.expect \
1395 enum.expect \
140c27a8 1396 enumtag.expect \
6c9a3167 1397 exports.expect \
1398 external.expect \
1399 fields.expect \
1400 fileio.expect \
1401 flags.expect \
1402 for.expect \
1403 forbody.expect \
1404 format.expect \
1405 freearray.expect \
1406 funcpointer.expect \
1407 glob.expect \
1408 globalbufferannotation.expect \
1409 globals.expect \
1410 help.expect \
1411 impabstract.expect \
1412 init.expect \
1413 inparam.expect \
1414 internal.expect \
1415 iter.expect \
1416 keep.expect \
1417 libs.expect \
1418 linked.expect \
1419 lintcomments.expect \
1420 list.expect \
1421 longconstants.expect \
1422 macros.expect \
1423 macrosef.expect \
1424 maxset.expect \
1425 merge.expect \
1426 mergestate.expect \
1427 metastate.expect \
1428 modifies.expect \
1429 modtest.expect \
1430 moduncon.expect \
1431 mongoincludes.expect \
1432 moreBufferTests.expect \
1433 moreBufferTests2.expect \
1434 mut.lh.expect \
1435 mystrncat.expect \
1436 noeffect.expect \
1437 null.expect \
1438 nullterminatedtest.expect \
1439 observer.expect \
1440 oldstyle.expect \
1441 outglob.expect \
1442 outparam.expect \
1443 postnotnull.expect \
1444 preds.expect \
1445 prefixes.expect \
1446 printflike.expect \
1447 rc.expect \
1448 refcounts.expect \
1449 release.expect \
1450 repexpose.expect \
1451 repexpose.lh.expect \
1452 returned.expect \
1453 sharing.expect \
1454 simplebufferConstraintTests.expect \
1455 sizeof.expect \
1456 sizeoftest.expect \
1457 slovaknames.expect \
1458 specclauses.expect \
1459 special.expect \
1460 stack.expect \
1461 staticarray.expect \
1462 strchr.expect \
1463 strings.expect \
1464 structassign.expect \
1465 tainted.expect \
1466 tests2.2.expect \
1467 tests2.2a.expect \
1468 tests2.3.expect \
1469 tests2.4.expect \
1470 tests2.5.expect \
1471 typequals.expect \
1472 ud.expect \
1473 ullint.expect \
1474 ulstypes.expect \
1475 union.expect \
288cbc5c 1476 unnamedsu.expect \
6c9a3167 1477 unreachable.expect \
1478 unsignedcompare.expect \
1479 unused.expect \
1480 void.expect \
1481 ./db1/bool.h \
1482 ./db1/dbase.h \
1483 ./db1/employee.h \
1484 ./db1/empset.h \
1485 ./db1/erc.h \
1486 ./db1/eref.h \
1487 ./db1/ereftab.h \
1488 ./bool.h \
1489 ./decl2.h \
1490 ./exports.h \
1491 ./iter.h \
1492 ./iter2.h \
1493 ./minc1.h \
1494 ./minc2.h \
1495 ./minc3.h \
1496 ./minc4.h \
1497 ./minc5.h \
1498 ./modifies.h \
1499 ./mut.h \
1500 ./db2/bool.h \
1501 ./db2/dbase.h \
1502 ./db2/employee.h \
1503 ./db2/empset.h \
1504 ./db2/erc.h \
1505 ./db2/eref.h \
1506 ./db2/ereftab.h \
1507 ./pivo.h \
1508 ./repexpose.h \
1509 ./db3/bool.h \
1510 ./db3/dbase.h \
1511 ./db3/employee.h \
1512 ./db3/empset.h \
1513 ./db3/erc.h \
1514 ./db3/eref.h \
1515 ./db3/ereftab.h \
1516 ./tq.h \
1517 ./metastate/global.h \
1518 ./suppressfile/test.h \
6c9a3167 1519 ./tests2.2/mbool.h \
1520 ./tests2.4/forward.h \
1521 ./tests2.4/hash.h \
1522 ./tests2.4/timecard.h \
1523 ./tests2.5/baz.h \
1524 ./tests2.5/bimbim.h \
1525 ./tests2.5/immutable.h \
1526 ./tests2.5/impabsmodule.h \
1527 ./tests2.5/socket.h \
1528 ./Makefile-test.os2 \
1529 ./db1/Makefile \
1530 ./db2/Makefile \
1531 ./db3/Makefile \
1532 ./conditions/Makefile \
1533 ./fileio/Makefile \
1534 ./for/Makefile \
1535 ./globalbufferannotation/Makefile \
1536 ./maxset/Makefile \
1537 ./mergestate/Makefile \
1538 ./metastate/Makefile \
1539 ./moreBufferTests/Makefile \
1540 ./simplebufferConstraintTests/Makefile \
1541 ./strchr/Makefile \
1542 ./tainted/Makefile \
1543 ./temp/Makefile \
6c9a3167 1544 ./tests2.2/Makefile \
1545 ./tests2.2/Makefile-tests2.2.os2 \
6c9a3167 1546 ./tests2.4/Makefile \
1547 ./tests2.4/Makefile-tests2.4.os2 \
1548 ./tests2.5/Makefile \
1549 ./warnuse/Makefile \
1550 ./Makefile.am \
1551 ./Makefile.in \
1552 ./moreBufferTests2/Makefile \
1553 ./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 1554 db2.old-expect union.pp warnuse.old-expect \
52e90c0f 1555 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
2bdabb7a 1556 unioninit.expect unioninit.c utypes.c \
1557 utypes.expect widestrings.expect widestrings.c \
1558 functionmacro.expect functionmacro.c info.c info.expect \
52e90c0f 1559 loopexec.c looptesteffect.c mergenull.c shifts.c \
2bdabb7a 1560 manual.expect ./manual/Makefile \
98b591d2 1561 ./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 \
1562 arraydims.expect arraydims.c \
7c39a167 1563 moreBufferTests2/fixedArrayType.c oldstyle2.c \
0feddd04 1564 divzero.expect parentype.expect \
1565 divzero.c parentype.c \
1566stringliteral.expect stringliteral.c
This page took 0.357543 seconds and 5 git commands to generate.