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