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