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