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