1 ## This file currently uses GNU Make features; those should really be replaced
2 ## by configure-time handling.
4 AUTOMAKE_OPTIONS = 1.5 foreign
6 ## Use this to configure diff output
9 ## Set up the lclint commands
11 LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
13 ### This is horrible! Can't we make top_builddir absolute?
14 LCLINTNEST = ../$(top_builddir)/src/lclint$(EXEEXT)
16 LCLINTPNEST = @$(LCLINTNEST)
19 # Make sure .lclintrc files are not used so test results do not
20 # depend on local settings.
21 LCLINTRN = $(LCLINTP) -nof -hints -booltype "bool"
22 LCLINTR = $(LCLINTRN) -exportlocal +debugfcnconstraint
24 LCLINTRNNEST = $(LCLINTPNEST) -nof -hints -booltype "bool"
25 LCLINTRNEST = $(LCLINTRNNEST) -exportlocal +debugfcnconstraint
27 ## Currently disabled tests:
28 ## fileio tainted mergestate nullret nullassign warnuse metastate \
29 ## nullret nullassign warnuse
33 ### These tests have been temporarily removed because of problems with the new build process:
34 ### fileio tainted mergestate metastate \
35 ### tests2.2 tests2.2a tests2.4 tests2.5
41 fileio tainted mergestate metastate sizeof buffertest \
42 tests2.2 tests2.4 tests2.5 \
43 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
45 abstptr abstract alias alttypes ansireserved argorder \
46 args blocks break cases cast charlit clauses commentchar compdestroy \
47 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
48 decl enum exports external fields flags forbody format freearray \
49 funcpointer glob globals impabstract init inparam internal iter keep libs \
50 linked lintcomments list macros macrosef merge modifies modtest moduncon \
51 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
52 postnotnull preds prefixes printflike rc refcounts release repexpose \
53 returned sharing slovaknames specclauses special stack staticarray strings \
54 structassign typequals ud ulstypes union unreachable unsignedcompare \
56 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
58 INTEGTESTS = db1 db2 db3
59 INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
61 LCLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
70 -$(LCLINTP) -help version
75 -@LARCH_PATH=/dev/null; $(LCLINT) empty.lcl
78 -@$(LCLINTP) +boolint +boolint
79 -@$(LCLINTP) -help flags alpha
80 -@$(LCLINTP) -help flags all
84 -rm -f *~ #*# *.o *.lcs a.out
85 -cd db1; $(MAKE) clean
86 -cd db2; $(MAKE) clean
87 -cd db3; $(MAKE) clean
89 ## All tests need lclint to be built
91 $(LCLINTTESTS): $(LCLINT)
94 cd $(top_builddir)/src; $(MAKE)
96 ## This is a kludgey way of processing the output to make it match exactly
97 ## The last matcher is the most annoying, as it can differ (the first two are
98 ## pretty much fixed); usually, you'll have 'make[1]:', but on DOS it is
99 ## 'make.exe[1]:' (it might even be 'c:/path/to/make.exe[1]:', but that's
101 ## The tests should really be re-done as shell-scripts or something... maybe
102 ## autotest could be used once it's finished.
103 CLEANOUTPUT = $(GREP) -v "LCLint 3." | $(GREP) -v "$(LCLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:"
108 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
111 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
115 @echo "Saving old expects..."; \
116 cat *.expect >expects-`date +"%y-%m-%d-%H"`
117 @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
118 echo "Making $$TEST.expect..."; \
119 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
125 @for TEST in $(QUICKTESTS); do \
126 echo "Checking $$TEST..."; \
127 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
128 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
129 echo "*** FAIL ***"; \
134 @echo "Testing $(PACKAGE) $(VERSION)..."
136 @echo "Version Info:"
137 @$(LCLINTP) -help version
138 @$(LCLINTP) -help vars
142 @for TEST in $(UNITTESTS); do \
143 echo "Checking $$TEST..."; \
144 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
145 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
146 echo "*** FAIL ***"; \
149 @echo "Integration tests:"
151 @for TEST in $(INTEGTESTS); do \
152 echo "Checking $$TEST..."; \
153 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
154 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
155 echo "*** FAIL ***"; \
158 ### Rules for tests start here
160 SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
161 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
166 $(LCLINTR) abstptr -expect 9
167 $(LCLINTR) abstptr +voidabstract -expect 6
171 $(LCLINTR) abst_t.lcl commentcmd.c -expect 15
176 $(LCLINTR) mut alias +globalias -expect 19
177 $(LCLINTR) mut alias2 +globalias -expect 17
178 $(LCLINTR) +lh alias3 -expect 14
179 $(LCLINTR) +lh alias4 +boolint
180 $(LCLINTR) alias4 -pred +retalias -expect 6
181 $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
185 $(LCLINTR) alttypes.c -expect 2
188 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
189 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
190 ### variable (could be a macro?)
191 ### Reports 3 additional errors for +checks; no longer suppresses name errors
192 ### in the presense of other errors.
197 $(LCLINTR) ansireserved.c +ansireserved -nolib -expect 9
198 $(LCLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
199 $(LCLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
200 $(LCLINTR) ansireserved2.c +ansireserved -expect 1
204 $(LCLINTR) argorder.c -expect 4
205 $(LCLINTR) argorder2 -expect 5
206 $(LCLINTR) argorder3.c -expect 8
207 $(LCLINTR) argorder4 -expect 9
208 $(LCLINTR) argorder4 -evalorder -expect 1
209 $(LCLINTR) argorder5.c +evalorderuncon -expect 3
213 $(LCLINTR) args -noeffect -expect 12
217 $(LCLINTR) blocks.c -expect 4
218 $(LCLINTR) blocks.c +ifblock +elseifcomplete -expect 7
219 $(LCLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
220 $(LCLINTR) blocks.c -ifempty +forempty +forblock -expect 3
221 $(LCLINTR) blocks.c +allempty -expect 6
222 $(LCLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
226 $(LCLINTR) break.c -expect 4
227 $(LCLINTR) break.c +deepbreak -expect 6
228 $(LCLINTR) break.c +deepbreak -looploopbreak -expect 5
232 $(LCLINTR) cases.c -expect 5
233 $(LCLINTR) cases2.c -expect 2
234 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
235 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
239 $(LCLINTR) cast -accessmodule -expect 20
240 $(LCLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
242 ### Two addition errors detected with 2.5 with -numliteral.
246 $(LCLINTR) +hints charlit.c -expect 4
247 $(LCLINTR) +hints -numliteral charlit.c -expect 6
248 $(LCLINTR) +hints charlit.c +charintliteral +ignoresigns
252 $(LCLINTR) clauses.c +memchecks -expect 4
253 $(LCLINTR) clauses2.c +memchecks
254 $(LCLINTR) clauses3.c +memchecks -expect 2
255 $(LCLINTR) clauses3.c +memchecks +unixlib -expect 3
259 $(LCLINTR) commentchar.c -expect 4
260 $(LCLINTR) -commentchar '#' commentchar.c -expect 4
264 $(LCLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
265 $(LCLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
269 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
270 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
271 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
272 $(LCLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
276 ${LCLINTRN} constannot.c +arraybounds -exportlocal -expect 2
280 $(LCLINTR) +quiet -incondefs csyntax.c -expect 1
281 $(LCLINTR) +quiet csyntax2.c -expect 2
282 $(LCLINTR) +quiet csyntax3.c -expect 1
283 $(LCLINTR) +quiet -incondefs csyntax4.c
284 $(LCLINTR) +quiet csyntax5.c
285 $(LCLINTR) +quiet csyntax6.c
286 $(LCLINTR) +quiet csyntax7.c
287 $(LCLINTR) +quiet csyntax8.c
288 $(LCLINTR) +quiet csyntax9.c
289 $(LCLINTR) +quiet csyntax10.c
290 $(LCLINTR) +quiet csyntax11.c
291 $(LCLINTR) +quiet csyntax12.c
292 $(LCLINTR) +quiet csyntax13.c -expect 1
293 $(LCLINTR) +quiet csyntax14.c
294 $(LCLINTR) +quiet csyntax15.c
295 $(LCLINTR) +quiet csyntax16.c -expect 2
296 $(LCLINTR) +quiet csyntax17.c -expect 3
300 $(LCLINTR) czechnames.c
301 $(LCLINTR) +hints +czech czechnames.c -expect 2
302 $(LCLINTR) +hints +czech -czechvars czechnames.c -expect 1
303 $(LCLINTR) +hints +czech -accessczech czechnames.c -expect 6
305 .PHONY: czechoslovaknames
307 $(LCLINTR) +hints +czechoslovak czechnames.c -expect 1
308 $(LCLINTR) +hints +czechoslovak slovaknames.c -expect 1
309 $(LCLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
312 ### deadparam added 2001-05-27
317 ${LCLINTR} deadparam.c -expect 3
320 # Was expect 3 before 2.4. Earlier versions did not handle implicit
321 # function pointers correctly.
326 $(LCLINTR) decl.c -expect 2
327 $(LCLINTRN) decl.c +strict -exportlocal -expect 5
328 $(LCLINTR) decl2 -expect 4
332 $(LCLINTR) enum -expect 16
333 $(LCLINTR) enum -misscase -expect 14
337 $(LCLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
338 $(LCLINTR) exports.c +exportany -expect 3
343 $(LCLINTR) external.c +partial
344 $(LCLINTR) external.c +partial +distinctexternalnames -expect 2
345 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
346 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
347 $(LCLINTR) external.c +partial -externalnamelength 3 -expect 4
351 $(LCLINTR) fields.c +memchecks -expect 6
352 $(LCLINTR) fields2.c +memchecks -expect 5
353 $(LCLINTR) fields3.c +memchecks
357 $(LCLINTR) flags.c -expect 8
358 $(LCLINTR) +nocomments flags.c -expect 2
364 ${LCLINTR} forbody.c -expect 2
369 ${LCLINTR} format.c -expect 3
370 ${LCLINTR} format.c -formatconst
372 # two new errors (invalid lhs)
376 $(LCLINTR) +memchecks +noparams funcpointer.c -expect 18
380 $(LCLINTR) glob -expect 4
381 $(LCLINTR) glob -globuse -expect 3
382 $(LCLINTR) glob +globunspec -expect 6
386 $(LCLINTR) -modifies globals.c -expect 5
387 $(LCLINTR) -modifies globals.c +allglobals -expect 6
388 $(LCLINTR) -modifies globals.c +impcheckedglobals -expect 6
389 $(LCLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
390 $(LCLINTR) -modifies globals.c +globunspec -expect 6
391 $(LCLINTR) -modifies globals.c +globunspec +allglobals -expect 8
396 $(LCLINTR) -accessmodule impabstract.c
397 $(LCLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
398 $(LCLINTR) -accessmodule +hints +impabstract impabstract -expect 4
400 ### evans 2001-10-14: Expected errors updated
403 $(LCLINTR) init.c -expect 14
404 $(LCLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
409 $(LCLINTR) inparam.c -expect 2
410 $(LCLINTR) +impouts inparam.c -expect 1
414 $(LCLINTR) internal.c -expect 1
415 $(LCLINTR) internal.c +distinctinternalnames -expect 2
416 $(LCLINTR) internal.c -internalnamelen 28 -expect 3
417 $(LCLINTR) internal.c +internalnamecaseinsensitive -expect 3
418 $(LCLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
422 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
427 $(LCLINTR) iter -expect 14 -lclexpect 1
428 $(LCLINTR) iter2.c -expect 12
432 $(LCLINTR) keep.c +memchecks -expect 6
435 ### 2001-05-22: 2 new errors found (fixed spec of signal)
436 ### 2001-05-30: 3 new errors found (formatconst)
440 $(LCLINTR) libs.c +longunsignedunsignedintegral -expect 18
441 $(LCLINTR) libs.c -expect 22
442 $(LCLINTR) libs.c +globunspec +modunspec -expect 25
443 $(LCLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
447 $(LCLINTR) lintcomments.c -expect 4
448 $(LCLINTR) lintcomments.c -warnlintcomments -expect 1
449 $(LCLINTR) lintcomments.c -lintcomments -expect 4
453 $(LCLINTR) list.c -expect 3
457 $(LCLINTR) macros -expect 17
458 $(LCLINTR) macros.c +allmacros -expect 34
459 $(LCLINTR) macros.c +fcnmacros -expect 31
464 $(LCLINTR) macrosef -expect 4
465 $(LCLINTR) macrosef.c +allmacros -expect 3
466 $(LCLINTR) macrosef.c +allmacros +sefuncon -expect 4
470 $(LCLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
474 $(LCLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
478 $(LCLINTR) modtest -expect 10
479 $(LCLINTR) modtest +modunspec -expect 13
480 $(LCLINTR) modtest +mustmod -expect 14
484 $(LCLINTR) moduncon.c +moduncon -memchecks -expect 4
485 $(LCLINTRN) moduncon.c +strict -exportlocal -expect 22
487 .PHONY: mongoincludes
489 $(LCLINTR) mongoincludes.c -includenest 1 -expect 19
490 $(LCLINTR) mongoincludes.c -includenest 2 -expect 10
491 $(LCLINTR) mongoincludes.c -includenest 3 -expect 4
492 $(LCLINTR) mongoincludes.c -includenest 4 -expect 1
493 $(LCLINTR) mongoincludes.c -includenest 5 -expect 0
497 $(LCLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
501 ${LCLINT} -nof noeffect.c +allmacros +checks -expect 3
505 $(LCLINTR) null1.c -expect 14
506 $(LCLINTR) null1.c -null -expect 4
507 $(LCLINTR) null2.c -expect 10
508 $(LCLINTR) null3.c -expect 15
509 $(LCLINTR) null3.c -warnunixlib +unixlib -expect 16
510 $(LCLINTR) null4.c -expect 1
511 $(LCLINTR) null5.c -expect 4
512 $(LCLINTR) null6 -expect 4
513 $(LCLINTR) +quiet null6.lcl -dump null6
514 $(LCLINTR) null6.c -load null6 -expect 4
516 ### Added for 3.0 (bugs reported by Kevin Broady)
520 $(LCLINTR) nullret.c -expect 2
521 $(LCLINTR) -nullret nullret.c -expect 1
525 $(LCLINTR) nullassign.c -expect 2
526 $(LCLINTR) -nullassign nullassign.c -expect 1
530 # Before 2.4, expected one more because error was reported both as
531 # dependent and observer.
536 $(LCLINTRN) observer +checks -exportlocal -exportheader -expect 9
537 $(LCLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
538 $(LCLINTR) observer.c -expect 7
542 $(LCLINTR) oldstyle -expect 3
546 $(LCLINTR) outglob -expect 10
550 $(LCLINTR) outparam -expect 12
552 ### evans 2001-08-26: postnotnull new
556 ${LCLINTR} postnotnull.c -expect 1
558 # Four new +fcnuse errors for -strict (evans 2001-07-22)
563 $(LCLINTR) +hints preds.c -expect 6
564 $(LCLINTRN) +hints preds.c -weak -expect 1
565 $(LCLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
569 $(LCLINTR) prefixes.c +partial
570 $(LCLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
571 $(LCLINTR) prefixes.c -typeprefix "T" -expect 2
572 $(LCLINTR) prefixes.c -typeprefix "^" -expect 1
573 $(LCLINTR) prefixes.c -typeprefix "^*" -expect 2
574 $(LCLINTR) prefixes.c -typeprefix "^%*" -expect 2
575 $(LCLINTR) prefixes.c -typeprefix "^~*" -expect 2
576 $(LCLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
577 $(LCLINTR) prefixes.c -filestaticprefix "^^" -expect 4
578 $(LCLINTR) prefixes.c -filestaticprefix "^#" -expect 5
579 $(LCLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
580 $(LCLINTR) prefixes.c -globalprefix "G" -expect 1
581 $(LCLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
582 $(LCLINTR) prefixes.c -externalprefix "G" -expect 5
583 $(LCLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
584 $(LCLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
588 $(LCLINTR) printflike.c -expect 6
589 $(LCLINTR) printflike.c -warnlintcomments -expect 5
593 $(LCLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
594 $(LCLINTR) -DMYSTERY=12 rc.c -expect 1
595 $(LCLINTR) -f rc1.lclintrc rc.c -expect 1
596 $(LCLINTR) -UMYSTERY -f rc1.lclintrc rc.c -expect 1
597 $(LCLINTR) -f rc3.lclintrc rc.c -expect 1
601 $(LCLINTR) refcounts.c -expect 7
605 $(LCLINTR) release.c +memchecks -expect 1
609 $(LCLINTR) +lh repexpose +memchecks -expect 12
610 $(LCLINTR) repexpose +memchecks +retalias -expect 15
611 $(LCLINTRN) repexpose +checks -exportlocal -expect 27
613 ### returned added 2001-05-27
614 ### (Bug discovered checking lclint sources.)
618 ${LCLINTR} returned.c -expect 1
622 $(LCLINTR) sharing1.c -expect 21
623 $(LCLINTR) sharing3.c -expect 3
624 $(LCLINTR) sharing4.c -expect 13
625 $(LCLINTR) sharing4.c -paramimptemp -expect 12
626 $(LCLINTR) sharing5.c -expect 6
630 $(LCLINTR) +hints slovaknames.c -expect 1
631 $(LCLINTR) +hints slovaknames.c +accessslovak
632 $(LCLINTR) +hints +slovak slovaknames.c -expect 3
633 $(LCLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
634 $(LCLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
638 $(LCLINTR) specclauses.c -expect 6
639 $(LCLINTR) specclauses2.c -expect 8
640 $(LCLINTR) specclauses3.c -expect 6
641 $(LCLINTR) specclauses4.c -expect 3
642 $(LCLINTR) specclauses5.c -expect 3
646 $(LCLINTR) special -expect 20
647 $(LCLINTR) special -relaxquals -expect 22
651 $(LCLINTR) stack.c -expect 5
652 $(LCLINTR) stack.c -stackref
656 $(LCLINTR) staticarray.c -expect 3
660 $(LCLINTR) strings.c -expect 3
661 $(LCLINTR) -readonlystrings -expect 1 strings.c
662 $(LCLINTR) +modobserverstrict -maintype -expect 4 strings.c
666 $(LCLINTR) structassign.c -expect 4
670 $(LCLINTR) typequals.c tq.lcl -expect 5
671 $(LCLINTR) typequals.c -expect 2
675 $(LCLINTR) ud.c -expect 9
676 $(LCLINTR) ud2 -specundef -expect 3
680 $(LCLINTR) ulstypes.c -expect 8
681 $(LCLINTR) ulstypes.c +ignorequals
682 $(LCLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
683 # 3 more detected with version 2.5 (change in -numliteral setting)
687 $(LCLINTR) +memchecks union.c -expect 8
691 $(LCLINTR) unreachable.c -expect 5
692 $(LCLINTR) -unreachable unreachable.c -expect 2
693 $(LCLINTR) switch.c -expect 4
695 .PHONY: unsignedcompare
697 ${LCLINTR} +posixlib unsignedcompare.c -expect 4
701 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
706 $(LCLINTRN) unused.c +checks -exportlocal -expect 5
707 $(LCLINTRN) unused.c +checks -exportlocal +topuse -expect 8
710 ### 2001-06-10: Provided by Jim Zalenka
715 ${LCLINTRN} ullint.c -expect 5
716 ${LCLINTRN} ullint.c +charint +charintliteral -expect 2
720 ${LCLINTRN} void.c -expect 2
728 ${LCLINTR} linked.c -expect 4
729 ${LCLINTR} linked2.c -expect 3
730 ${LCLINTR} linked3.c -expect 5
731 ${LCLINTR} linked4.c -expect 6
732 ${LCLINTR} linked5.c -expect 4
733 ${LCLINTR} linked6.c -expect 4
737 ${LCLINTR} freearray.c -expect 1
740 ### Bugs fixed and new features since version 2.1b
743 SUBDIRTESTS += tests2.2
744 SUBDIRTESTS += tests2.2a
745 SUBDIRTESTS += tests2.4
749 $(LCLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
753 $(LCLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
755 SUBDIRTESTS += tests2.5
760 ## db2: 2 errors are no longer reported, since eref is immutable.
761 ## Need to clarify what it means for an object to be immutable;
762 ## there should be 2 types with different storage requirements.
764 SUBDIRTESTS += db1 db2 db3
766 .PHONY: $(SUBDIRTESTS)
768 cd $@; $(MAKE) LCLINT="$(LCLINTRNNEST)"