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