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