1 # Makefile.in generated automatically by automake 1.5 from Makefile.am.
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.
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
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
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@
58 host_alias = @host_alias@
71 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
80 am__include = @am__include@
81 am__quote = @am__quote@
82 install_sh = @install_sh@
84 AUTOMAKE_OPTIONS = 1.5 foreign
90 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
92 ### This is horrible! Can't we make top_builddir absolute?
93 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
95 SPLINTPNEST = @$(SPLINTNEST) -nof
96 SPLINTP = @$(SPLINT) -nof
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
103 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
104 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
108 ### rcfiles not included becuase file names will not match exactly
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 \
123 special stack staticarray strings \
124 structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
125 unused ullint utypes void widestrings
127 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
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
136 SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
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="
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 \
217 ./repexpose.lh.expect \
234 ./globalbufferannotation/.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 \
305 ./czechoslovaknames.c \
421 ./unsignedcompare.c \
424 ./conditions/miroslaw.c \
425 ./conditions/releases.c \
427 ./fileio/filebranch.c \
430 ./globalbufferannotation/globalvariable.c \
431 ./maxset/maxsetannotations.c \
432 ./maxset/maxsetnoannotations.c \
433 ./mergestate/taintednm.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 \
448 ./metastate/sockets.c \
449 ./metastate/sockets2.c \
450 ./metastate/struct.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 \
470 ./suppressfile/test.c \
471 ./tainted/sprintf.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 \
482 ./tclauses/globals.c \
484 ./tclauses/modifies.c \
485 ./tclauses/struct.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 \
493 ./tests2.2/bstring.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 \
502 ./tests2.2/realloc.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 \
514 ./tests2.2a/floatdouble.c \
515 ./tests2.2a/florian.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 \
526 ./tests2.4/bitfields.c \
531 ./tests2.4/cpptest.c \
532 ./tests2.4/driverstub.c \
534 ./tests2.4/emptycase.c \
535 ./tests2.4/enumtest.c \
538 ./tests2.4/flagequal.c \
539 ./tests2.4/forward.c \
541 ./tests2.4/hexconstants.c \
542 ./tests2.4/innercomment.c \
543 ./tests2.4/komazi.c \
544 ./tests2.4/longlong.c \
546 ./tests2.4/nothing.c \
547 ./tests2.4/offsetof.c \
550 ./tests2.4/syncomment.c \
551 ./tests2.4/syslog.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 \
561 ./tests2.5/booltest.c \
562 ./tests2.5/dummyfile.c \
564 ./tests2.5/immutable.c \
565 ./tests2.5/impabsmodule.c \
566 ./tests2.5/literals.c \
569 ./tests2.5/testalt.c \
570 ./tests2.5/testimmutable.c \
571 ./tests2.5/uconstants.c \
573 ./warnuse/warnflags.c \
574 ./warnuse/warngets.c \
575 ./warnuse/warnuse.c \
576 ./moreBufferTests2/unknownsize.c \
577 ./moreBufferTests2/arrayConstExpr.c \
582 ansireserved.expect \
597 controldepth.expect \
600 czechoslovaknames.expect \
618 globalbufferannotation.expect \
629 lintcomments.expect \
631 longconstants.expect \
641 mongoincludes.expect \
642 moreBufferTests.expect \
643 moreBufferTests2.expect \
648 nullterminatedtest.expect \
661 repexpose.lh.expect \
664 simplebufferConstraintTests.expect \
674 structassign.expect \
687 unsignedcompare.expect \
726 ./metastate/global.h \
727 ./suppressfile/test.h \
728 ./tests2.2/Makefile.hide \
730 ./tests2.4/forward.h \
732 ./tests2.4/timecard.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 \
742 ./conditions/Makefile \
745 ./globalbufferannotation/Makefile \
747 ./mergestate/Makefile \
748 ./metastate/Makefile \
749 ./moreBufferTests/Makefile \
750 ./simplebufferConstraintTests/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 \
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
771 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
772 CONFIG_HEADER = $(top_builddir)/config.h
775 DIST_COMMON = Makefile.am Makefile.in
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
792 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
795 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
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"; \
805 if test -d $$d/$$file; then \
806 cp -pR $$d/$$file $(distdir) \
809 test -f $(distdir)/$$file \
810 || cp -p $$d/$$file $(distdir)/$$file \
821 install-exec: install-exec-am
822 install-data: install-data-am
823 uninstall: uninstall-am
826 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
828 installcheck: installcheck-am
830 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
831 `test -z '$(STRIP)' || \
832 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
838 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
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."
845 clean-am: clean-generic clean-local mostlyclean-am
847 distclean: distclean-am
849 distclean-am: clean-am distclean-generic
863 install-info: install-info-am
869 maintainer-clean: maintainer-clean-am
871 maintainer-clean-am: distclean-am maintainer-clean-generic
873 mostlyclean: mostlyclean-am
875 mostlyclean-am: mostlyclean-generic
877 uninstall-am: uninstall-info-am
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
889 unexport LCLIMPORTDIR
896 -$(SPLINTP) -help version
901 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
904 -@$(SPLINTP) +boolint +boolint
905 -@$(SPLINTP) -help flags alpha
906 -@$(SPLINTP) -help flags all
910 -rm -f *~ #*# *.o *.lcs a.out
911 -cd db1; $(MAKE) clean
912 -cd db2; $(MAKE) clean
913 -cd db3; $(MAKE) clean
915 $(SPLINTTESTS): $(SPLINT)
918 cd $(top_builddir)/src; $(MAKE)
921 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
924 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
926 #drl temporally take this out.
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; \
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 ***"; \
948 @echo "Testing $(PACKAGE) $(VERSION)..."
950 @echo "Version Info:"
951 @$(SPLINTP) -help version
952 @$(SPLINTP) -help vars
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 ***"; \
963 ### Rules for tests start here
967 -$(SPLINTR) abstptr -expect 9
968 -$(SPLINTR) abstptr +voidabstract -expect 6
972 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
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
986 -$(SPLINTR) alttypes.c -expect 2
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.
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
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
1014 -$(SPLINTR) args -noeffect -expect 12
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
1027 -$(SPLINTR) break.c -expect 4
1028 -$(SPLINTR) break.c +deepbreak -expect 6
1029 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
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
1040 -$(SPLINTR) cast -accessmodule -expect 20
1041 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1043 ### Two addition errors detected with 2.5 with -numliteral.
1047 -$(SPLINTR) +hints charlit.c -expect 4
1048 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
1049 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
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
1060 -$(SPLINTR) commentchar.c -expect 4
1061 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
1063 .PHONY: controldepth
1065 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1066 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
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
1077 ${SPLINTRN} constannot.c +arraybounds -exportlocal -expect 2
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
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
1106 .PHONY: 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
1113 ### deadparam added 2001-05-27
1118 ${SPLINTR} deadparam.c -expect 3
1121 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1122 # function pointers correctly.
1127 -$(SPLINTR) decl.c -expect 2
1128 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
1129 -$(SPLINTR) decl2 -expect 4
1133 -$(SPLINTR) enum -expect 16
1134 -$(SPLINTR) enum -misscase -expect 14
1138 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1139 -$(SPLINTR) exports.c +exportany -expect 3
1140 -$(SPLINTR) exports.c
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
1152 -$(SPLINTR) fields.c +memchecks -expect 6
1153 -$(SPLINTR) fields2.c +memchecks -expect 5
1154 -$(SPLINTR) fields3.c +memchecks
1158 -$(SPLINTR) flags.c -expect 8
1159 -$(SPLINTR) +nocomments flags.c -expect 2
1161 ### Added 2001-06-02
1165 ${SPLINTR} forbody.c -expect 2
1167 ### Added 2001-06-03
1170 ${SPLINTR} format.c -expect 3
1171 ${SPLINTR} format.c -formatconst
1173 # two new errors (invalid lhs)
1177 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1179 .PHONY: functionmacro
1181 -$(SPLINTR) functionmacro.c -expect 2
1185 -$(SPLINTR) glob -expect 4
1186 -$(SPLINTR) glob -globuse -expect 3
1187 -$(SPLINTR) glob +globunspec -expect 6
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
1201 -$(SPLINTR) -accessmodule impabstract.c
1202 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1203 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1206 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1207 ### (Reported by Pierluigi Sanzani)
1211 ${SPLINTR} info.c -expect 4
1213 ### evans 2001-10-14: Expected errors updated
1216 -$(SPLINTR) init.c -expect 14
1217 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1221 -$(SPLINTR) inparam.c -expect 2
1222 -$(SPLINTR) +impouts inparam.c -expect 1
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
1235 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1240 -$(SPLINTR) iter -expect 14 -lclexpect 1
1241 -$(SPLINTR) iter2.c -expect 12
1245 -$(SPLINTR) keep.c +memchecks -expect 6
1248 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1249 ### 2001-05-30: 3 new errors found (formatconst)
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
1258 .PHONY: lintcomments
1260 -$(SPLINTR) lintcomments.c -expect 5
1261 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1262 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
1266 -$(SPLINTR) list.c -expect 3
1269 ### 2002-01-01: Added test case for obvious loop execution.
1274 -$(SPLINTR) loopexec.c -expect 1
1275 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
1279 -$(SPLINTR) macros -expect 17
1280 -$(SPLINTR) macros.c +allmacros -expect 34
1281 -$(SPLINTR) macros.c +fcnmacros -expect 31
1285 -$(SPLINTR) macrosef -expect 4
1286 -$(SPLINTR) macrosef.c +allmacros -expect 3
1287 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1291 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1295 -$(SPLINTRN) mergenull.c
1299 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1303 -$(SPLINTR) modtest -expect 10
1304 -$(SPLINTR) modtest +modunspec -expect 13
1305 -$(SPLINTR) modtest +mustmod -expect 14
1309 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1310 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1312 .PHONY: 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
1322 -$(SPLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
1326 ${SPLINT} -nof noeffect.c +allmacros +checks -expect 3
1329 ### 2002-01-01: null1.c: expect increased to 15 because out must be defined
1330 ### checking detects one new error
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
1346 ### Added for 3.0 (bugs reported by Kevin Broady)
1350 -$(SPLINTR) nullret.c -expect 2
1351 -$(SPLINTR) -nullret nullret.c -expect 1
1355 -$(SPLINTR) nullassign.c -expect 2
1356 -$(SPLINTR) -nullassign nullassign.c -expect 1
1359 # Before 2.4, expected one more because error was reported both as
1360 # dependent and observer.
1365 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1366 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1367 -$(SPLINTR) observer.c -expect 7
1371 -$(SPLINTR) oldstyle -expect 3
1375 -$(SPLINTR) outglob -expect 10
1379 -$(SPLINTR) outparam -expect 12
1381 ### evans 2001-08-26: postnotnull new
1385 ${SPLINTR} postnotnull.c -expect 1
1387 # Four new +fcnuse errors for -strict (evans 2001-07-22)
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
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
1417 -$(SPLINTR) printflike.c -expect 6
1418 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
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
1430 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
1434 -$(SPLINTR) refcounts.c -expect 7
1438 -$(SPLINTR) release.c +memchecks -expect 1
1442 -$(SPLINTR) +lh repexpose +memchecks -expect 12
1443 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
1444 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
1446 ### returned added 2001-05-27
1447 ### (Bug discovered checking splint sources.)
1451 ${SPLINTR} returned.c -expect 1
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
1463 -$(SPLINTR) shifts.c -expect 4
1464 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
1465 -$(SPLINTR) shifts.c -shiftnegative -expect 1
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
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
1483 .PHONY: specclauses1
1485 -$(SPLINTR) specclauses.c -expect 6
1487 .PHONY: specclauses2
1489 -$(SPLINTR) specclauses2.c -expect 8
1491 .PHONY: specclauses3
1493 -$(SPLINTR) specclauses3.c -expect 6
1495 .PHONY: specclauses4
1497 -$(SPLINTR) specclauses4.c -expect 3
1499 .PHONY: specclauses5
1501 -$(SPLINTR) specclauses5.c -expect 3
1505 -$(SPLINTR) special -expect 20
1506 -$(SPLINTR) special -relaxquals -expect 22
1510 -$(SPLINTR) stack.c -expect 5
1511 -$(SPLINTR) stack.c -stackref
1515 -$(SPLINTR) staticarray.c -expect 3
1519 -$(SPLINTR) strings.c -expect 3
1520 -$(SPLINTR) -readonlystrings -expect 1 strings.c
1521 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1523 .PHONY: structassign
1525 -$(SPLINTR) structassign.c -expect 4
1529 -$(SPLINTR) typequals.c tq.lcl -expect 5
1530 -$(SPLINTR) typequals.c -expect 2
1534 -$(SPLINTR) ud.c -expect 9
1535 -$(SPLINTR) ud2 -specundef -expect 3
1539 -$(SPLINTR) ulstypes.c -expect 8
1540 -$(SPLINTR) ulstypes.c +ignorequals
1541 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1543 # 3 more detected with version 2.5 (change in -numliteral setting)
1547 -$(SPLINTR) +memchecks union.c -expect 8
1550 ### Added 2001-12-30: fixed union initializer checking in response to
1551 ### bug report from Jim Zelenka.
1556 -$(SPLINTR) unioninit.c -expect 2
1560 -$(SPLINTR) unreachable.c -expect 5
1561 -$(SPLINTR) -unreachable unreachable.c -expect 2
1562 -$(SPLINTR) switch.c -expect 4
1564 .PHONY: unsignedcompare
1566 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1569 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1574 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
1575 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1578 ### 2001-06-10: Provided by Jim Zalenka
1583 ${SPLINTRN} ullint.c -expect 5
1584 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1587 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1592 ${SPLINTRN} utypes.c -expect 6
1598 ${SPLINTRN} void.c -expect 2
1601 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1606 ${SPLINTRN} widestrings.c -expect 2
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
1623 ${SPLINTR} freearray.c -expect 1
1627 -$(SPLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
1631 -$(SPLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
1633 .PHONY: $(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.