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