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