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