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
88 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
90 ### This is horrible! Can't we make top_builddir absolute?
91 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
93 SPLINTPNEST = @$(SPLINTNEST) -nof
94 SPLINTP = @$(SPLINT) -nof
96 # Make sure .splintrc files are not used so test results do not
97 # depend on local settings.
98 SPLINTRN = $(SPLINTP) -hints -booltype "bool"
99 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
101 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
102 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
106 ### rcfiles not included becuase file names will not match exactly
110 fileio tainted mergestate metastate sizeof buffertest \
111 tests2.2 tests2.4 tests2.5 \
112 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
114 abstptr abstract alias alttypes ansireserved argorder \
115 args blocks break cases cast charlit clauses commentchar compdestroy \
116 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
117 decl enum exports external fields flags forbody format freearray \
118 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
119 linked lintcomments list macros macrosef merge mergenull modifies modtest moduncon \
120 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
121 postnotnull preds prefixes printflike rc refcounts release repexpose \
122 returned sharing slovaknames specclauses special stack staticarray strings \
123 structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
124 unused ullint utypes void widestrings
126 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
128 INTEGTESTS = db1 db2 db3
129 INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
131 SPLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
135 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="
138 ### Rules for tests start here
141 ### Bugs fixed and new features since version 2.1b
143 SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
144 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
146 tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
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 \
223 ./repexpose.lh.expect \
240 ./globalbufferannotation/.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 \
311 ./czechoslovaknames.c \
427 ./unsignedcompare.c \
430 ./conditions/miroslaw.c \
431 ./conditions/releases.c \
433 ./fileio/filebranch.c \
436 ./globalbufferannotation/globalvariable.c \
437 ./maxset/maxsetannotations.c \
438 ./maxset/maxsetnoannotations.c \
439 ./mergestate/taintednm.c \
441 ./metastate/file1.c \
442 ./metastate/file2.c \
443 ./metastate/file3.c \
444 ./metastate/file4.c \
445 ./metastate/file5.c \
446 ./metastate/file6.c \
447 ./metastate/file7.c \
448 ./metastate/filebad.c \
449 ./metastate/global.c \
450 ./metastate/nullbranch.c \
451 ./metastate/nullbranch2.c \
452 ./metastate/nullret.c \
454 ./metastate/sockets.c \
455 ./metastate/sockets2.c \
456 ./metastate/struct.c \
458 ./metastate/voidptr.c \
459 ./moreBufferTests/initialization.c \
460 ./moreBufferTests/simplifyTest.c \
461 ./moreBufferTests/strncatNotReallyGood.c \
462 ./moreBufferTests/strncatReallyGood.c \
463 ./moreBufferTests/strrchr.c \
464 ./moreBufferTests/unrecogCall.c \
465 ./nullterminatedtest/buggy1.c \
466 ./nullterminatedtest/buggy_support1.c \
467 ./nullterminatedtest/buggy_support_fmakeword.c \
468 ./nullterminatedtest/test1.c \
469 ./nullterminatedtest/test3.c \
470 ./simplebufferConstraintTests/m.c \
471 ./simplebufferConstraintTests/sizeof.c \
472 ./simplebufferConstraintTests/test3.c \
473 ./simplebufferConstraintTests/test7.c \
474 ./sizeoftest/sizeof.c \
476 ./suppressfile/test.c \
477 ./tainted/sprintf.c \
479 ./tainted/tainted.c \
480 ./tainted/tainted2.c \
481 ./tainted/tainted3.c \
482 ./tainted/tainted4.c \
483 ./tainted/tainted5.c \
484 ./tainted/taintedimplicit.c \
485 ./tainted/taintedmerge.c \
486 ./tainted/taintedx.c \
488 ./tclauses/globals.c \
490 ./tclauses/modifies.c \
491 ./tclauses/struct.c \
493 ./tests2.2/arbints.c \
494 ./tests2.2/arrayfcn.c \
495 ./tests2.2/booldef.c \
496 ./tests2.2/boolenum.c \
497 ./tests2.2/boolops.c \
499 ./tests2.2/bstring.c \
501 ./tests2.2/enumbool.c \
502 ./tests2.2/extension.c \
503 ./tests2.2/libraries.c \
504 ./tests2.2/modarray.c \
505 ./tests2.2/nestext.c \
506 ./tests2.2/offsetof.c \
508 ./tests2.2/realloc.c \
510 ./tests2.2/sizeofarray.c \
511 ./tests2.2/struct.c \
512 ./tests2.2a/addassign.c \
513 ./tests2.2a/arrayparam.c \
514 ./tests2.2a/bitops.c \
515 ./tests2.2a/boolcomp.c \
516 ./tests2.2a/boolenum.c \
520 ./tests2.2a/floatdouble.c \
521 ./tests2.2a/florian.c \
523 ./tests2.2a/isalpha.c \
524 ./tests2.2a/notreached.c \
525 ./tests2.2a/obviousloop.c \
526 ./tests2.2a/popik.c \
527 ./tests2.2a/sizeof.c \
528 ./tests2.2a/toralf.c \
529 ./tests2.4/subdir/main.c \
530 ./tests2.4/alignof.c \
532 ./tests2.4/bitfields.c \
537 ./tests2.4/cpptest.c \
538 ./tests2.4/driverstub.c \
540 ./tests2.4/emptycase.c \
541 ./tests2.4/enumtest.c \
544 ./tests2.4/flagequal.c \
545 ./tests2.4/forward.c \
547 ./tests2.4/hexconstants.c \
548 ./tests2.4/innercomment.c \
549 ./tests2.4/komazi.c \
550 ./tests2.4/longlong.c \
552 ./tests2.4/nothing.c \
553 ./tests2.4/offsetof.c \
556 ./tests2.4/syncomment.c \
557 ./tests2.4/syslog.c \
561 ./tests2.4/timecard.c \
562 ./tests2.4/toothman.c \
563 ./tests2.4/ulrich.c \
564 ./tests2.5/badcomment.c \
565 ./tests2.5/boolbad.c \
567 ./tests2.5/booltest.c \
568 ./tests2.5/dummyfile.c \
570 ./tests2.5/immutable.c \
571 ./tests2.5/impabsmodule.c \
572 ./tests2.5/literals.c \
575 ./tests2.5/testalt.c \
576 ./tests2.5/testimmutable.c \
577 ./tests2.5/uconstants.c \
579 ./warnuse/warnflags.c \
580 ./warnuse/warngets.c \
581 ./warnuse/warnuse.c \
582 ./moreBufferTests2/unknownsize.c \
583 ./moreBufferTests2/arrayConstExpr.c \
588 ansireserved.expect \
603 controldepth.expect \
606 czechoslovaknames.expect \
624 globalbufferannotation.expect \
635 lintcomments.expect \
637 longconstants.expect \
647 mongoincludes.expect \
648 moreBufferTests.expect \
649 moreBufferTests2.expect \
654 nullterminatedtest.expect \
667 repexpose.lh.expect \
670 simplebufferConstraintTests.expect \
680 structassign.expect \
693 unsignedcompare.expect \
732 ./metastate/global.h \
733 ./suppressfile/test.h \
734 ./tests2.2/Makefile.hide \
736 ./tests2.4/forward.h \
738 ./tests2.4/timecard.h \
740 ./tests2.5/bimbim.h \
741 ./tests2.5/immutable.h \
742 ./tests2.5/impabsmodule.h \
743 ./tests2.5/socket.h \
744 ./Makefile-test.os2 \
748 ./conditions/Makefile \
751 ./globalbufferannotation/Makefile \
753 ./mergestate/Makefile \
754 ./metastate/Makefile \
755 ./moreBufferTests/Makefile \
756 ./simplebufferConstraintTests/Makefile \
760 ./tests2.2/Makefile.hide \
761 ./tests2.2/Makefile \
762 ./tests2.2/Makefile-tests2.2.os2 \
763 ./tests2.2a/Makefile \
764 ./tests2.4/Makefile \
765 ./tests2.4/Makefile-tests2.4.os2 \
766 ./tests2.5/Makefile \
770 ./moreBufferTests2/Makefile \
771 ./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 \
772 alias alttypes ansireserved \
773 db2.old-expect outglob outparam preds union.pp warnuse.old-expect \
774 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants
777 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
778 CONFIG_HEADER = $(top_builddir)/config.h
781 DIST_COMMON = Makefile.am Makefile.in
785 .SUFFIXES: .c .diff .expect
786 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
787 cd $(top_srcdir) && \
788 $(AUTOMAKE) --foreign test/Makefile
789 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
790 cd $(top_builddir) && \
791 CONFIG_HEADERS= CONFIG_LINKS= \
792 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
798 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
801 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
803 distdir: $(DISTFILES)
804 $(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
805 @for file in $(DISTFILES); do \
806 if test -f $$file; then d=.; else d=$(srcdir); fi; \
807 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
808 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
809 $(mkinstalldirs) "$(distdir)/$$dir"; \
811 if test -d $$d/$$file; then \
812 cp -pR $$d/$$file $(distdir) \
815 test -f $(distdir)/$$file \
816 || cp -p $$d/$$file $(distdir)/$$file \
827 install-exec: install-exec-am
828 install-data: install-data-am
829 uninstall: uninstall-am
832 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
834 installcheck: installcheck-am
836 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
837 `test -z '$(STRIP)' || \
838 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
844 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
846 maintainer-clean-generic:
847 @echo "This command is intended for maintainers to use"
848 @echo "it deletes files that may require special tools to rebuild."
851 clean-am: clean-generic clean-local mostlyclean-am
853 distclean: distclean-am
855 distclean-am: clean-am distclean-generic
869 install-info: install-info-am
875 maintainer-clean: maintainer-clean-am
877 maintainer-clean-am: distclean-am maintainer-clean-generic
879 mostlyclean: mostlyclean-am
881 mostlyclean-am: mostlyclean-generic
883 uninstall-am: uninstall-info-am
885 .PHONY: all all-am check check-am clean clean-generic clean-local \
886 distclean distclean-generic distdir dvi dvi-am info info-am \
887 install install-am install-data install-data-am install-exec \
888 install-exec-am install-info install-info-am install-man \
889 install-strip installcheck installcheck-am installdirs \
890 maintainer-clean maintainer-clean-generic mostlyclean \
891 mostlyclean-generic uninstall uninstall-am uninstall-info-am
895 unexport LCLIMPORTDIR
902 -$(SPLINTP) -help version
907 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
910 -@$(SPLINTP) +boolint +boolint
911 -@$(SPLINTP) -help flags alpha
912 -@$(SPLINTP) -help flags all
916 -rm -f *~ #*# *.o *.lcs a.out
917 -cd db1; $(MAKE) clean
918 -cd db2; $(MAKE) clean
919 -cd db3; $(MAKE) clean
921 $(SPLINTTESTS): $(SPLINT)
924 cd $(top_builddir)/src; $(MAKE)
927 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
930 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
932 #drl temporally take this out.
935 # @echo "Saving old expects..."; \
936 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
937 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
938 # echo "Making $$TEST.expect..."; \
939 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
940 # cat $$TEST.expect; \
945 @for TEST in $(QUICKTESTS); do \
946 echo "Checking $$TEST..."; \
947 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
948 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
949 echo "*** FAIL ***"; \
954 @echo "Testing $(PACKAGE) $(VERSION)..."
956 @echo "Version Info:"
957 @$(SPLINTP) -help version
958 @$(SPLINTP) -help vars
962 @for TEST in $(UNITTESTS); do \
963 echo "Checking $$TEST..."; \
964 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
965 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
966 echo "*** FAIL ***"; \
969 @echo "Integration tests:"
971 @for TEST in $(INTEGTESTS); do \
972 echo "Checking $$TEST..."; \
973 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
974 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
975 echo "*** FAIL ***"; \
980 $(SPLINTR) abstptr -expect 9
981 $(SPLINTR) abstptr +voidabstract -expect 6
985 $(SPLINTR) abst_t.lcl commentcmd.c -expect 15
990 $(SPLINTR) mut alias +globalias -expect 19
991 $(SPLINTR) mut alias2 +globalias -expect 17
992 $(SPLINTR) +lh alias3 -expect 14
993 $(SPLINTR) +lh alias4 +boolint
994 $(SPLINTR) alias4 -pred +retalias -expect 6
995 $(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
999 $(SPLINTR) alttypes.c -expect 2
1002 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1003 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1004 ### variable (could be a macro?)
1005 ### Reports 3 additional errors for +checks; no longer suppresses name errors
1006 ### in the presense of other errors.
1009 .PHONY: ansireserved
1011 $(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1012 $(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1013 $(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1014 $(SPLINTR) ansireserved2.c +ansireserved -expect 1
1018 $(SPLINTR) argorder.c -expect 4
1019 $(SPLINTR) argorder2 -expect 5
1020 $(SPLINTR) argorder3.c -expect 8
1021 $(SPLINTR) argorder4 -expect 9
1022 $(SPLINTR) argorder4 -evalorder -expect 1
1023 $(SPLINTR) argorder5.c +evalorderuncon -expect 3
1027 $(SPLINTR) args -noeffect -expect 12
1031 $(SPLINTR) blocks.c -expect 4
1032 $(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1033 $(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1034 $(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1035 $(SPLINTR) blocks.c +allempty -expect 6
1036 $(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1040 $(SPLINTR) break.c -expect 4
1041 $(SPLINTR) break.c +deepbreak -expect 6
1042 $(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1046 $(SPLINTR) cases.c -expect 5
1047 $(SPLINTR) cases2.c -expect 2
1048 $(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1049 $(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1053 $(SPLINTR) cast -accessmodule -expect 20
1054 $(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1056 ### Two addition errors detected with 2.5 with -numliteral.
1060 $(SPLINTR) +hints charlit.c -expect 4
1061 $(SPLINTR) +hints -numliteral charlit.c -expect 6
1062 $(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1066 $(SPLINTR) clauses.c +memchecks -expect 4
1067 $(SPLINTR) clauses2.c +memchecks
1068 $(SPLINTR) clauses3.c +memchecks -expect 2
1069 $(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1073 $(SPLINTR) commentchar.c -expect 4
1074 $(SPLINTR) -commentchar '#' commentchar.c -expect 4
1076 .PHONY: controldepth
1078 $(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1079 $(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1083 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1084 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1085 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1086 $(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1090 ${SPLINTRN} constannot.c +arraybounds -exportlocal -expect 2
1094 $(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1095 $(SPLINTR) +quiet csyntax2.c -expect 2
1096 $(SPLINTR) +quiet csyntax3.c -expect 1
1097 $(SPLINTR) +quiet -incondefs csyntax4.c
1098 $(SPLINTR) +quiet csyntax5.c
1099 $(SPLINTR) +quiet csyntax6.c
1100 $(SPLINTR) +quiet csyntax7.c
1101 $(SPLINTR) +quiet csyntax8.c
1102 $(SPLINTR) +quiet csyntax9.c
1103 $(SPLINTR) +quiet csyntax10.c
1104 $(SPLINTR) +quiet csyntax11.c
1105 $(SPLINTR) +quiet csyntax12.c
1106 $(SPLINTR) +quiet csyntax13.c -expect 1
1107 $(SPLINTR) +quiet csyntax14.c
1108 $(SPLINTR) +quiet csyntax15.c
1109 $(SPLINTR) +quiet csyntax16.c -expect 2
1110 $(SPLINTR) +quiet csyntax17.c -expect 3
1114 $(SPLINTR) czechnames.c
1115 $(SPLINTR) +hints +czech czechnames.c -expect 2
1116 $(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1117 $(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1119 .PHONY: czechoslovaknames
1121 $(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1122 $(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1123 $(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1126 ### deadparam added 2001-05-27
1131 ${SPLINTR} deadparam.c -expect 3
1134 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1135 # function pointers correctly.
1140 $(SPLINTR) decl.c -expect 2
1141 $(SPLINTRN) decl.c +strict -exportlocal -expect 5
1142 $(SPLINTR) decl2 -expect 4
1146 $(SPLINTR) enum -expect 16
1147 $(SPLINTR) enum -misscase -expect 14
1151 $(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1152 $(SPLINTR) exports.c +exportany -expect 3
1153 $(SPLINTR) exports.c
1157 $(SPLINTR) external.c +partial
1158 $(SPLINTR) external.c +partial +distinctexternalnames -expect 2
1159 $(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1160 $(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1161 $(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1165 $(SPLINTR) fields.c +memchecks -expect 6
1166 $(SPLINTR) fields2.c +memchecks -expect 5
1167 $(SPLINTR) fields3.c +memchecks
1171 $(SPLINTR) flags.c -expect 8
1172 $(SPLINTR) +nocomments flags.c -expect 2
1174 ### Added 2001-06-02
1178 ${SPLINTR} forbody.c -expect 2
1180 ### Added 2001-06-03
1183 ${SPLINTR} format.c -expect 3
1184 ${SPLINTR} format.c -formatconst
1186 # two new errors (invalid lhs)
1190 $(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1192 .PHONY: functionmacro
1194 $(SPLINTR) functionmacro.c -expect 2
1198 $(SPLINTR) glob -expect 4
1199 $(SPLINTR) glob -globuse -expect 3
1200 $(SPLINTR) glob +globunspec -expect 6
1204 $(SPLINTR) -modifies globals.c -expect 5
1205 $(SPLINTR) -modifies globals.c +allglobals -expect 6
1206 $(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1207 $(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1208 $(SPLINTR) -modifies globals.c +globunspec -expect 6
1209 $(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1214 $(SPLINTR) -accessmodule impabstract.c
1215 $(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1216 $(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1219 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1220 ### (Reported by Pierluigi Sanzani)
1224 ${SPLINTR} info.c -expect 4
1226 ### evans 2001-10-14: Expected errors updated
1229 $(SPLINTR) init.c -expect 14
1230 $(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1234 $(SPLINTR) inparam.c -expect 2
1235 $(SPLINTR) +impouts inparam.c -expect 1
1239 $(SPLINTR) internal.c -expect 1
1240 $(SPLINTR) internal.c +distinctinternalnames -expect 2
1241 $(SPLINTR) internal.c -internalnamelen 28 -expect 3
1242 $(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1243 $(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1247 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1252 $(SPLINTR) iter -expect 14 -lclexpect 1
1253 $(SPLINTR) iter2.c -expect 12
1257 $(SPLINTR) keep.c +memchecks -expect 6
1260 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1261 ### 2001-05-30: 3 new errors found (formatconst)
1265 $(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1266 $(SPLINTR) libs.c -expect 22
1267 $(SPLINTR) libs.c +globunspec +modunspec -expect 25
1268 $(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1270 .PHONY: lintcomments
1272 $(SPLINTR) lintcomments.c -expect 4
1273 $(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1274 $(SPLINTR) lintcomments.c -lintcomments -expect 4
1278 $(SPLINTR) list.c -expect 3
1282 $(SPLINTR) macros -expect 17
1283 $(SPLINTR) macros.c +allmacros -expect 34
1284 $(SPLINTR) macros.c +fcnmacros -expect 31
1288 $(SPLINTR) macrosef -expect 4
1289 $(SPLINTR) macrosef.c +allmacros -expect 3
1290 $(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1294 $(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1298 $(SPLINTRN) mergenull.c
1302 $(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1306 $(SPLINTR) modtest -expect 10
1307 $(SPLINTR) modtest +modunspec -expect 13
1308 $(SPLINTR) modtest +mustmod -expect 14
1312 $(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1313 $(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1315 .PHONY: mongoincludes
1317 $(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1318 $(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1319 $(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1320 $(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1321 $(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1325 $(SPLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
1329 ${SPLINT} -nof noeffect.c +allmacros +checks -expect 3
1333 $(SPLINTR) null1.c -expect 14
1334 $(SPLINTR) null1.c -null -expect 4
1335 $(SPLINTR) null2.c -expect 10
1336 $(SPLINTR) null3.c -expect 15
1337 $(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1338 $(SPLINTR) null4.c -expect 1
1339 $(SPLINTR) null5.c -expect 4
1340 $(SPLINTR) null6 -expect 4
1341 $(SPLINTR) +quiet null6.lcl -dump null6
1342 $(SPLINTR) null6.c -load null6 -expect 4
1344 ### Added for 3.0 (bugs reported by Kevin Broady)
1348 $(SPLINTR) nullret.c -expect 2
1349 $(SPLINTR) -nullret nullret.c -expect 1
1353 $(SPLINTR) nullassign.c -expect 2
1354 $(SPLINTR) -nullassign nullassign.c -expect 1
1357 # Before 2.4, expected one more because error was reported both as
1358 # dependent and observer.
1363 $(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1364 $(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1365 $(SPLINTR) observer.c -expect 7
1369 $(SPLINTR) oldstyle -expect 3
1373 $(SPLINTR) outglob -expect 10
1377 $(SPLINTR) outparam -expect 12
1379 ### evans 2001-08-26: postnotnull new
1383 ${SPLINTR} postnotnull.c -expect 1
1385 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1390 $(SPLINTR) +hints preds.c -expect 6
1391 $(SPLINTRN) +hints preds.c -weak -expect 1
1392 $(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1396 $(SPLINTR) prefixes.c +partial
1397 $(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1398 $(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1399 $(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1400 $(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1401 $(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1402 $(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1403 $(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1404 $(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1405 $(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1406 $(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1407 $(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1408 $(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1409 $(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1410 $(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1411 $(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1415 $(SPLINTR) printflike.c -expect 6
1416 $(SPLINTR) printflike.c -warnlintcomments -expect 5
1420 $(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1421 $(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1422 $(SPLINTR) -f rc1.splintrc rc.c -expect 1
1423 $(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1424 $(SPLINTR) -f rc3.splintrc rc.c -expect 1
1428 cd rcfiles; ${MAKE} SPLINT="$(SPLINTPNEST)"
1432 $(SPLINTR) refcounts.c -expect 7
1436 $(SPLINTR) release.c +memchecks -expect 1
1440 $(SPLINTR) +lh repexpose +memchecks -expect 12
1441 $(SPLINTR) repexpose +memchecks +retalias -expect 15
1442 $(SPLINTRN) repexpose +checks -exportlocal -expect 27
1444 ### returned added 2001-05-27
1445 ### (Bug discovered checking splint sources.)
1449 ${SPLINTR} returned.c -expect 1
1453 $(SPLINTR) sharing1.c -expect 21
1454 $(SPLINTR) sharing3.c -expect 3
1455 $(SPLINTR) sharing4.c -expect 13
1456 $(SPLINTR) sharing4.c -paramimptemp -expect 12
1457 $(SPLINTR) sharing5.c -expect 6
1461 $(SPLINTR) +hints slovaknames.c -expect 1
1462 $(SPLINTR) +hints slovaknames.c +accessslovak
1463 $(SPLINTR) +hints +slovak slovaknames.c -expect 3
1464 $(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1465 $(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1469 $(SPLINTR) specclauses.c -expect 6
1470 $(SPLINTR) specclauses2.c -expect 8
1471 $(SPLINTR) specclauses3.c -expect 6
1472 $(SPLINTR) specclauses4.c -expect 3
1473 $(SPLINTR) specclauses5.c -expect 3
1477 $(SPLINTR) special -expect 20
1478 $(SPLINTR) special -relaxquals -expect 22
1482 $(SPLINTR) stack.c -expect 5
1483 $(SPLINTR) stack.c -stackref
1487 $(SPLINTR) staticarray.c -expect 3
1491 $(SPLINTR) strings.c -expect 3
1492 $(SPLINTR) -readonlystrings -expect 1 strings.c
1493 $(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1495 .PHONY: structassign
1497 $(SPLINTR) structassign.c -expect 4
1501 $(SPLINTR) typequals.c tq.lcl -expect 5
1502 $(SPLINTR) typequals.c -expect 2
1506 $(SPLINTR) ud.c -expect 9
1507 $(SPLINTR) ud2 -specundef -expect 3
1511 $(SPLINTR) ulstypes.c -expect 8
1512 $(SPLINTR) ulstypes.c +ignorequals
1513 $(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1515 # 3 more detected with version 2.5 (change in -numliteral setting)
1519 $(SPLINTR) +memchecks union.c -expect 8
1522 ### Added 2001-12-30: fixed union initializer checking in response to
1523 ### bug report from Jim Zelenka.
1528 $(SPLINTR) unioninit.c -expect 2
1532 $(SPLINTR) unreachable.c -expect 5
1533 $(SPLINTR) -unreachable unreachable.c -expect 2
1534 $(SPLINTR) switch.c -expect 4
1536 .PHONY: unsignedcompare
1538 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1541 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1546 $(SPLINTRN) unused.c +checks -exportlocal -expect 5
1547 $(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1550 ### 2001-06-10: Provided by Jim Zalenka
1555 ${SPLINTRN} ullint.c -expect 5
1556 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1559 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1564 ${SPLINTRN} utypes.c -expect 6
1570 ${SPLINTRN} void.c -expect 2
1573 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1578 ${SPLINTRN} widestrings.c -expect 2
1586 ${SPLINTR} linked.c -expect 4
1587 ${SPLINTR} linked2.c -expect 3
1588 ${SPLINTR} linked3.c -expect 5
1589 ${SPLINTR} linked4.c -expect 6
1590 ${SPLINTR} linked5.c -expect 4
1591 ${SPLINTR} linked6.c -expect 4
1595 ${SPLINTR} freearray.c -expect 1
1599 $(SPLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
1603 $(SPLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
1605 .PHONY: $(SUBDIRTESTS)
1607 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1608 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1609 # Otherwise a system limit (for SysV at least) may be exceeded.