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