]> andersk Git - splint.git/blame - test/Makefile.in
Fixed preds.expect for name change.
[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 = :
58host_alias = @host_alias@
59host_triplet = @host@
73b29173 60AMTAR = @AMTAR@
61AWK = @AWK@
8fe44445 62BISON = @BISON@
63CAT = @CAT@
64CC = @CC@
65CP = @CP@
66CPP = @CPP@
73b29173 67DEPDIR = @DEPDIR@
8fe44445 68DIFF = @DIFF@
73b29173 69EXEEXT = @EXEEXT@
8fe44445 70GREP = @GREP@
73b29173 71INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8fe44445 72LCLOBJ = @LCLOBJ@
73LEX = @LEX@
74LN_S = @LN_S@
75MV = @MV@
73b29173 76OBJEXT = @OBJEXT@
8fe44445 77PACKAGE = @PACKAGE@
78RM = @RM@
79VERSION = @VERSION@
73b29173 80am__include = @am__include@
81am__quote = @am__quote@
82install_sh = @install_sh@
8fe44445 83
84AUTOMAKE_OPTIONS = 1.5 foreign
85
86DIFFFLAGS = -u
87
11db3170 88SPLINT = $(top_builddir)/src/splint$(EXEEXT)
a469ccf0 89
90### This is horrible! Can't we make top_builddir absolute?
11db3170 91SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
a469ccf0 92
f2b6724f 93SPLINTPNEST = @$(SPLINTNEST) -nof
94SPLINTP = @$(SPLINT) -nof
8fe44445 95
11db3170 96# Make sure .splintrc files are not used so test results do not
8fe44445 97# depend on local settings.
f2b6724f 98SPLINTRN = $(SPLINTP) -hints -booltype "bool"
11db3170 99SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
8fe44445 100
f2b6724f 101SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
11db3170 102SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
a469ccf0 103
8fe44445 104
105###
f2b6724f 106### rcfiles not included becuase file names will not match exactly
107###
8fe44445 108UNITTESTS = \
a469ccf0 109 help \
110 fileio tainted mergestate metastate sizeof buffertest \
1f11dead 111 tests2.2 tests2.4 tests2.5 \
30585c35 112 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
a469ccf0 113 maxset strchr for \
8fe44445 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 \
5c2f3045 118 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
60868d40 119 linked lintcomments list macros macrosef merge mergenull modifies modtest moduncon \
8fe44445 120 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
f2b6724f 121 postnotnull preds prefixes printflike rc refcounts release repexpose \
8fe44445 122 returned sharing slovaknames specclauses special stack staticarray strings \
146e25eb 123 structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
e0b363ad 124 unused ullint utypes void widestrings
8fe44445 125
126UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
127
128INTEGTESTS = db1 db2 db3
129INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
130
11db3170 131SPLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
8fe44445 132
133QUICKTESTS = db3
134
4c9767b3 135CLEANOUTPUT = $(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="
8fe44445 136
137
a469ccf0 138### Rules for tests start here
8fe44445 139
140###
141### Bugs fixed and new features since version 2.1b
142###
a469ccf0 143SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
30585c35 144 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
a469ccf0 145 maxset strchr for \
146tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
6c9a3167 147
148#drl 11/29/2001 This is a very ugly hack to get make dist to work
149EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
150 ./abstptr.lcl ./abstptr.lcs \
151 ./alias.lcl ./alias.lcs \
152 ./alias2.lcl ./alias2.lcs \
153 ./alias3.lcl \
154 ./db1/erc.lcl \
155 ./db1/bool.lcl \
156 ./db1/dbase.lcl \
157 ./db1/employee.lcl \
158 ./db1/empset.lcl \
159 ./db1/eref.lcl \
160 ./db1/ereftab.lcl \
161 ./alias3.lcs \
162 ./alias3.lh \
163 ./alias4.lcl \
164 ./alias4.lcs \
165 ./alias4.lh \
166 ./alias5.lcl \
167 ./alias5.lcs \
168 ./alias5.lh \
169 ./argorder2.lcl \
170 ./argorder2.lcs \
171 ./argorder4.lcl \
172 ./argorder4.lcs \
173 ./args.lcl \
174 ./args.lcs \
175 ./cast.lcl \
176 ./cast.lcs \
177 ./decl2.lcl \
178 ./decl2.lcs \
179 ./empty.lcl \
180 ./enum.lcl \
181 ./enum.lcs \
182 ./glob.lcl \
183 ./glob.lcs \
184 ./impabstract.lcl \
185 ./impabstract.lcs \
186 ./iter.lcl \
187 ./iter.lcs \
188 ./macros.lcl \
189 ./macros.lcs \
190 ./macrosef.lcl \
191 ./macrosef.lcs \
192 ./modtest.lcl \
193 ./modtest.lcs \
194 ./mut.lcl \
195 ./mut.lcs \
196 ./mut.lh \
197 ./mut.lh.expect \
198 ./db2/dbase.lcl \
199 ./db2/employee.lcl \
200 ./db2/empset.lcl \
201 ./db2/erc.lcl \
202 ./db2/eref.lcl \
203 ./db2/ereftab.lcl \
204 ./db2/etest.lcl \
205 ./null6.lcd \
206 ./null6.lcl \
207 ./null6.lcs \
208 ./observer.lcl \
209 ./observer.lcs \
210 ./oldstyle.lcl \
211 ./oldstyle.lcs \
212 ./outglob.lcl \
213 ./outglob.lcs \
214 ./outparam.lcl \
215 ./outparam.lcs \
11db3170 216 ./rc1.splintrc \
217 ./rc2.splintrc \
218 ./rc3.splintrc \
219 ./rc3.splintrc.os2 \
6c9a3167 220 ./repexpose.lcl \
221 ./repexpose.lcs \
222 ./repexpose.lh \
223 ./repexpose.lh.expect \
224 ./special.lcl \
225 ./special.lcs \
11db3170 226 ./db3/.splintrc \
6c9a3167 227 ./db3/bool.lcl \
228 ./db3/check.lcl \
229 ./db3/dbase.lcl \
230 ./db3/employee.lcl \
231 ./db3/empset.lcl \
232 ./db3/erc.lcl \
233 ./db3/eref.lcl \
234 ./db3/ereftab.lcl \
235 ./tq.lcl \
236 ./tq.lcs \
237 ./ud2.lcl \
238 ./ud2.lcs \
11db3170 239 ./for/.splintrc \
240 ./globalbufferannotation/.splintrc \
241 ./maxset/.splintrc \
242 ./strchr/.splintrc \
6c9a3167 243 ./tests2.2/bool.lcl \
244 ./tests2.2/bool.lcs \
245 ./tests2.2/libraries.lcd \
246 ./tests2.2/obsolete.lcd \
247 ./tests2.2/oldversion.lcd \
248 ./tests2.4/subdir/main.lcl \
249 ./tests2.4/subdir/main.lcs \
250 ./tests2.5/newlint.lcd \
251 ./warnuse/warnuse.lcd \
252 ./empty.lcs \
253 ./abstptr.c \
254 ./alias.c \
255 ./alias2.c \
256 ./alias3.c \
257 ./db1/dbase.c \
258 ./db1/drive.c \
259 ./db1/employee.c \
260 ./db1/empset.c \
261 ./db1/erc.c \
262 ./db1/eref.c \
263 ./db1/ereftab.c \
264 ./alias4.c \
265 ./alias5.c \
266 ./alttypes.c \
267 ./ansireserved.c \
268 ./ansireserved2.c \
269 ./argorder.c \
270 ./argorder2.c \
271 ./argorder3.c \
272 ./argorder4.c \
273 ./argorder5.c \
274 ./args.c \
275 ./arrayinit.c \
276 ./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 \
291 ./csyntax.c \
292 ./constannot.c \
293 ./controldepth.c \
294 ./csyntax10.c \
295 ./csyntax11.c \
296 ./csyntax12.c \
297 ./csyntax13.c \
298 ./csyntax14.c \
299 ./csyntax15.c \
300 ./csyntax16.c \
301 ./csyntax17.c \
302 ./csyntax2.c \
303 ./csyntax3.c \
304 ./csyntax4.c \
305 ./csyntax5.c \
306 ./csyntax6.c \
307 ./csyntax7.c \
308 ./csyntax8.c \
309 ./csyntax9.c \
310 ./czechnames.c \
311 ./czechoslovaknames.c \
312 ./deadparam.c \
313 ./decl.c \
314 ./decl2.c \
315 ./dkf5kEnum.c \
316 ./dkf5kRange.c \
317 ./dkf5kSprintf.c \
318 ./ensures.c \
319 ./enum.c \
320 ./exports.c \
321 ./external.c \
322 ./fields.c \
323 ./fields2.c \
324 ./fields3.c \
325 ./flags.c \
326 ./glob.c \
327 ./forbody.c \
328 ./format.c \
329 ./freearray.c \
330 ./funcpointer.c \
331 ./globals.c \
332 ./globals2.c \
333 ./impabstract.c \
334 ./init.c \
335 ./innerfree.c \
336 ./inparam.c \
337 ./internal.c \
338 ./iter.c \
339 ./iter2.c \
340 ./keep.c \
341 ./libs.c \
342 ./linked.c \
343 ./linked2.c \
344 ./linked3.c \
345 ./linked4.c \
346 ./linked5.c \
347 ./linked6.c \
348 ./lintcomments.c \
349 ./list.c \
350 ./longconstants.c \
351 ./macros.c \
352 ./macrosef.c \
353 ./merge.c \
354 ./modclient.c \
355 ./modifies.c \
356 ./modtest.c \
357 ./moduncon.c \
358 ./mongoincludes.c \
359 ./mparen.c \
360 ./mut.c \
361 ./mystrncat.c \
362 ./noeffect.c \
363 ./null1.c \
364 ./null2.c \
365 ./null3.c \
366 ./null4.c \
367 ./null5.c \
368 ./db2/dbase.c \
369 ./db2/drive.c \
370 ./db2/employee.c \
371 ./db2/empset.c \
372 ./db2/erc.c \
373 ./db2/eref.c \
374 ./db2/ereftab.c \
375 ./db2/etest.c \
376 ./null6.c \
377 ./nullassign.c \
378 ./nullret.c \
379 ./observer.c \
380 ./oldstyle.c \
381 ./outglob.c \
382 ./outparam.c \
383 ./postnotnull.c \
384 ./preds.c \
385 ./prefixes.c \
386 ./printflike.c \
387 ./rc.c \
388 ./refcounts.c \
389 ./release.c \
390 ./repexpose.c \
391 ./returned.c \
392 ./sharing1.c \
393 ./sharing2.c \
394 ./sharing3.c \
395 ./sharing4.c \
396 ./sharing5.c \
397 ./sizeof.c \
398 ./slovaknames.c \
399 ./specclauses.c \
400 ./specclauses2.c \
401 ./specclauses3.c \
402 ./specclauses4.c \
403 ./specclauses5.c \
404 ./specclauses6.c \
405 ./special.c \
406 ./stack.c \
407 ./staticarray.c \
408 ./strings.c \
409 ./structassign.c \
410 ./switch.c \
411 ./t1.c \
412 ./test.c \
413 ./db3/dbase.c \
414 ./db3/drive.c \
415 ./db3/employee.c \
416 ./db3/empset.c \
417 ./db3/erc.c \
418 ./db3/eref.c \
419 ./db3/ereftab.c \
420 ./typequals.c \
421 ./ud.c \
422 ./ud2.c \
423 ./ullint.c \
424 ./ulstypes.c \
425 ./union.c \
426 ./unreachable.c \
427 ./unsignedcompare.c \
428 ./unused.c \
429 ./void.c \
430 ./conditions/miroslaw.c \
431 ./conditions/releases.c \
432 ./fileio/file.c \
433 ./fileio/filebranch.c \
434 ./fileio/filerw.c \
435 ./for/for.c \
436 ./globalbufferannotation/globalvariable.c \
437 ./maxset/maxsetannotations.c \
438 ./maxset/maxsetnoannotations.c \
439 ./mergestate/taintednm.c \
440 ./metastate/file.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 \
453 ./metastate/osd.c \
454 ./metastate/sockets.c \
455 ./metastate/sockets2.c \
456 ./metastate/struct.c \
457 ./metastate/test.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 \
475 ./strchr/strchr.c \
476 ./suppressfile/test.c \
477 ./tainted/sprintf.c \
478 ./tainted/t1.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 \
487 ./tainted/test.c \
488 ./tclauses/globals.c \
489 ./tclauses/gt.c \
490 ./tclauses/modifies.c \
491 ./tclauses/struct.c \
492 ./tclauses/undef.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 \
498 ./tests2.2/break.c \
499 ./tests2.2/bstring.c \
500 ./tests2.2/decl.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 \
507 ./tests2.2/posix.c \
508 ./tests2.2/realloc.c \
509 ./tests2.2/rex.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 \
517 ./tests2.2a/dobb.c \
518 ./tests2.2a/duff.c \
519 ./tests2.2a/erik.c \
520 ./tests2.2a/floatdouble.c \
521 ./tests2.2a/florian.c \
522 ./tests2.2a/fred.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 \
531 ./tests2.4/array.c \
532 ./tests2.4/bitfields.c \
533 ./tests2.4/bug1.c \
534 ./tests2.4/bug2.c \
535 ./tests2.4/bug3.c \
536 ./tests2.4/chin.c \
537 ./tests2.4/cpptest.c \
538 ./tests2.4/driverstub.c \
539 ./tests2.4/duffs.c \
540 ./tests2.4/emptycase.c \
541 ./tests2.4/enumtest.c \
542 ./tests2.4/error.c \
543 ./tests2.4/fink.c \
544 ./tests2.4/flagequal.c \
545 ./tests2.4/forward.c \
546 ./tests2.4/hash.c \
547 ./tests2.4/hexconstants.c \
548 ./tests2.4/innercomment.c \
549 ./tests2.4/komazi.c \
550 ./tests2.4/longlong.c \
551 ./tests2.4/main.c \
552 ./tests2.4/nothing.c \
553 ./tests2.4/offsetof.c \
554 ./tests2.4/print.c \
555 ./tests2.4/ric.c \
556 ./tests2.4/syncomment.c \
557 ./tests2.4/syslog.c \
558 ./tests2.4/test0.c \
559 ./tests2.4/test1.c \
560 ./tests2.4/test2.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 \
566 ./tests2.5/boolt.c \
567 ./tests2.5/booltest.c \
568 ./tests2.5/dummyfile.c \
569 ./tests2.5/hoof.c \
570 ./tests2.5/immutable.c \
571 ./tests2.5/impabsmodule.c \
572 ./tests2.5/literals.c \
573 ./tests2.5/quals.c \
574 ./tests2.5/sort.c \
575 ./tests2.5/testalt.c \
576 ./tests2.5/testimmutable.c \
577 ./tests2.5/uconstants.c \
578 ./tests2.5/ull.c \
579 ./warnuse/warnflags.c \
580 ./warnuse/warngets.c \
581 ./warnuse/warnuse.c \
582 ./moreBufferTests2/unknownsize.c \
583 ./moreBufferTests2/arrayConstExpr.c \
584 abstptr.expect \
585 abstract.expect \
586 alias.expect \
587 alttypes.expect \
588 ansireserved.expect \
589 argorder.expect \
590 args.expect \
591 arrayinit.expect \
592 blocks.expect \
593 branchstate.expect \
594 break.expect \
595 buffertest.expect \
596 cases.expect \
597 cast.expect \
598 charlit.expect \
599 clauses.expect \
600 commentchar.expect \
601 compdestroy.expect \
602 constannot.expect \
603 controldepth.expect \
604 csyntax.expect \
605 czechnames.expect \
606 czechoslovaknames.expect \
607 db1.expect \
608 db2.expect \
609 db3.expect \
610 deadparam.expect \
611 decl.expect \
612 enum.expect \
613 exports.expect \
614 external.expect \
615 fields.expect \
616 fileio.expect \
617 flags.expect \
618 for.expect \
619 forbody.expect \
620 format.expect \
621 freearray.expect \
622 funcpointer.expect \
623 glob.expect \
624 globalbufferannotation.expect \
625 globals.expect \
626 help.expect \
627 impabstract.expect \
628 init.expect \
629 inparam.expect \
630 internal.expect \
631 iter.expect \
632 keep.expect \
633 libs.expect \
634 linked.expect \
635 lintcomments.expect \
636 list.expect \
637 longconstants.expect \
638 macros.expect \
639 macrosef.expect \
640 maxset.expect \
641 merge.expect \
642 mergestate.expect \
643 metastate.expect \
644 modifies.expect \
645 modtest.expect \
646 moduncon.expect \
647 mongoincludes.expect \
648 moreBufferTests.expect \
649 moreBufferTests2.expect \
650 mut.lh.expect \
651 mystrncat.expect \
652 noeffect.expect \
653 null.expect \
654 nullterminatedtest.expect \
655 observer.expect \
656 oldstyle.expect \
657 outglob.expect \
658 outparam.expect \
659 postnotnull.expect \
660 preds.expect \
661 prefixes.expect \
662 printflike.expect \
663 rc.expect \
664 refcounts.expect \
665 release.expect \
666 repexpose.expect \
667 repexpose.lh.expect \
668 returned.expect \
669 sharing.expect \
670 simplebufferConstraintTests.expect \
671 sizeof.expect \
672 sizeoftest.expect \
673 slovaknames.expect \
674 specclauses.expect \
675 special.expect \
676 stack.expect \
677 staticarray.expect \
678 strchr.expect \
679 strings.expect \
680 structassign.expect \
681 tainted.expect \
682 tests2.2.expect \
683 tests2.2a.expect \
684 tests2.3.expect \
685 tests2.4.expect \
686 tests2.5.expect \
687 typequals.expect \
688 ud.expect \
689 ullint.expect \
690 ulstypes.expect \
691 union.expect \
692 unreachable.expect \
693 unsignedcompare.expect \
694 unused.expect \
695 void.expect \
696 ./db1/bool.h \
697 ./db1/dbase.h \
698 ./db1/employee.h \
699 ./db1/empset.h \
700 ./db1/erc.h \
701 ./db1/eref.h \
702 ./db1/ereftab.h \
703 ./bool.h \
704 ./decl2.h \
705 ./exports.h \
706 ./iter.h \
707 ./iter2.h \
708 ./minc1.h \
709 ./minc2.h \
710 ./minc3.h \
711 ./minc4.h \
712 ./minc5.h \
713 ./modifies.h \
714 ./mut.h \
715 ./db2/bool.h \
716 ./db2/dbase.h \
717 ./db2/employee.h \
718 ./db2/empset.h \
719 ./db2/erc.h \
720 ./db2/eref.h \
721 ./db2/ereftab.h \
722 ./pivo.h \
723 ./repexpose.h \
724 ./db3/bool.h \
725 ./db3/dbase.h \
726 ./db3/employee.h \
727 ./db3/empset.h \
728 ./db3/erc.h \
729 ./db3/eref.h \
730 ./db3/ereftab.h \
731 ./tq.h \
732 ./metastate/global.h \
733 ./suppressfile/test.h \
734 ./tests2.2/Makefile.hide \
735 ./tests2.2/mbool.h \
736 ./tests2.4/forward.h \
737 ./tests2.4/hash.h \
738 ./tests2.4/timecard.h \
739 ./tests2.5/baz.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 \
745 ./db1/Makefile \
746 ./db2/Makefile \
747 ./db3/Makefile \
748 ./conditions/Makefile \
749 ./fileio/Makefile \
750 ./for/Makefile \
751 ./globalbufferannotation/Makefile \
752 ./maxset/Makefile \
753 ./mergestate/Makefile \
754 ./metastate/Makefile \
755 ./moreBufferTests/Makefile \
756 ./simplebufferConstraintTests/Makefile \
757 ./strchr/Makefile \
758 ./tainted/Makefile \
759 ./temp/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 \
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 \
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
775
8fe44445 776subdir = test
777mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
778CONFIG_HEADER = $(top_builddir)/config.h
779CONFIG_CLEAN_FILES =
780DIST_SOURCES =
781DIST_COMMON = Makefile.am Makefile.in
782all: all-am
783
784.SUFFIXES:
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
789Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
790 cd $(top_builddir) && \
791 CONFIG_HEADERS= CONFIG_LINKS= \
792 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
793uninstall-info-am:
794tags: TAGS
795TAGS:
796
797
798DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
799
800top_distdir = ..
801distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
802
803distdir: $(DISTFILES)
6c9a3167 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
8fe44445 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"; \
810 fi; \
811 if test -d $$d/$$file; then \
812 cp -pR $$d/$$file $(distdir) \
813 || exit 1; \
814 else \
815 test -f $(distdir)/$$file \
816 || cp -p $$d/$$file $(distdir)/$$file \
817 || exit 1; \
818 fi; \
819 done
820check-am: all-am
821check: check-am
822all-am: Makefile
823
824installdirs:
825
826install: install-am
827install-exec: install-exec-am
828install-data: install-data-am
829uninstall: uninstall-am
830
831install-am: all-am
832 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
833
834installcheck: installcheck-am
835install-strip:
836 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
837 `test -z '$(STRIP)' || \
838 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
839mostlyclean-generic:
840
841clean-generic:
842
843distclean-generic:
844 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
845
846maintainer-clean-generic:
847 @echo "This command is intended for maintainers to use"
848 @echo "it deletes files that may require special tools to rebuild."
849clean: clean-am
850
851clean-am: clean-generic clean-local mostlyclean-am
852
853distclean: distclean-am
854
855distclean-am: clean-am distclean-generic
856
857dvi: dvi-am
858
859dvi-am:
860
861info: info-am
862
863info-am:
864
865install-data-am:
866
867install-exec-am:
868
869install-info: install-info-am
870
871install-man:
872
873installcheck-am:
874
875maintainer-clean: maintainer-clean-am
876
877maintainer-clean-am: distclean-am maintainer-clean-generic
878
879mostlyclean: mostlyclean-am
880
881mostlyclean-am: mostlyclean-generic
882
883uninstall-am: uninstall-info-am
884
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
892
893
6c9a3167 894unexport LARCH_PATH
895unexport LCLIMPORTDIR
896
8fe44445 897.PHONY: all check
898all check: fulltest
899
900.PHONY: version
901version:
11db3170 902 -$(SPLINTP) -help version
8fe44445 903
904.PHONY: help
905help:
f2b6724f 906 -@$(SPLINT)
907 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
11db3170 908 -@$(SPLINTP) -help
909 -@$(SPLINTP) -asdf
910 -@$(SPLINTP) +boolint +boolint
911 -@$(SPLINTP) -help flags alpha
912 -@$(SPLINTP) -help flags all
8fe44445 913
914.PHONY: clean-local
915clean-local:
916 -rm -f *~ #*# *.o *.lcs a.out
917 -cd db1; $(MAKE) clean
918 -cd db2; $(MAKE) clean
919 -cd db3; $(MAKE) clean
920
11db3170 921$(SPLINTTESTS): $(SPLINT)
8fe44445 922
11db3170 923$(SPLINT):
8fe44445 924 cd $(top_builddir)/src; $(MAKE)
925
926.c.expect:
927 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
928
929.c.diff:
930 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
931
6c9a3167 932#drl temporally take this out.
933#.PHONY: expects
934#expects:
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; \
941# done
8fe44445 942
943.PHONY: quicktest
944quicktest:
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 ***"; \
950 done
951
952.PHONY: fulltest
953fulltest:
954 @echo "Testing $(PACKAGE) $(VERSION)..."
955 @echo
956 @echo "Version Info:"
11db3170 957 @$(SPLINTP) -help version
958 @$(SPLINTP) -help vars
8fe44445 959 @echo ""
960 @echo "Unit tests:"
961 @echo ""
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 ***"; \
967 done
a469ccf0 968 @echo ""
969 @echo "Integration tests:"
970 @echo ""
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 ***"; \
976 done
8fe44445 977
978.PHONY: abstptr
979abstptr:
11db3170 980 $(SPLINTR) abstptr -expect 9
981 $(SPLINTR) abstptr +voidabstract -expect 6
8fe44445 982
983.PHONY: abstract
984abstract:
11db3170 985 $(SPLINTR) abst_t.lcl commentcmd.c -expect 15
8fe44445 986
987.PHONY: alias
988alias:
11db3170 989 $(SPLINTR) +lh mut
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
8fe44445 996
997.PHONY: alttypes
998alttypes:
11db3170 999 $(SPLINTR) alttypes.c -expect 2
8fe44445 1000
1001###
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.
1007###
1008
1009.PHONY: ansireserved
1010ansireserved:
11db3170 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
8fe44445 1015
1016.PHONY: argorder
1017argorder:
11db3170 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
8fe44445 1024
1025.PHONY: args
1026args:
11db3170 1027 $(SPLINTR) args -noeffect -expect 12
8fe44445 1028
1029.PHONY: blocks
1030blocks:
11db3170 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
8fe44445 1037
1038.PHONY: break
1039break:
11db3170 1040 $(SPLINTR) break.c -expect 4
1041 $(SPLINTR) break.c +deepbreak -expect 6
1042 $(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
8fe44445 1043
1044.PHONY: cases
1045cases:
11db3170 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
8fe44445 1050
1051.PHONY: cast
1052cast:
11db3170 1053 $(SPLINTR) cast -accessmodule -expect 20
1054 $(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
8fe44445 1055
1056### Two addition errors detected with 2.5 with -numliteral.
1057
1058.PHONY: charlit
1059charlit:
11db3170 1060 $(SPLINTR) +hints charlit.c -expect 4
1061 $(SPLINTR) +hints -numliteral charlit.c -expect 6
1062 $(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
8fe44445 1063
1064.PHONY: clauses
1065clauses:
11db3170 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
8fe44445 1070
1071.PHONY: commentchar
1072commentchar:
11db3170 1073 $(SPLINTR) commentchar.c -expect 4
1074 $(SPLINTR) -commentchar '#' commentchar.c -expect 4
8fe44445 1075
1076.PHONY: controldepth
1077controldepth:
11db3170 1078 $(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1079 $(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
8fe44445 1080
1081.PHONY: compdestroy
1082compdestroy:
11db3170 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
8fe44445 1087
1088.PHONY: constannot
1089constannot:
11db3170 1090 ${SPLINTRN} constannot.c +arraybounds -exportlocal -expect 2
8fe44445 1091
1092.PHONY: csyntax
1093csyntax:
11db3170 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
8fe44445 1111
1112.PHONY: czechnames
1113czechnames:
11db3170 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
8fe44445 1118
1119.PHONY: czechoslovaknames
1120czechoslovaknames:
11db3170 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
8fe44445 1124
1125###
1126### deadparam added 2001-05-27
1127###
1128
1129.PHONY: deadparam
1130deadparam:
11db3170 1131 ${SPLINTR} deadparam.c -expect 3
8fe44445 1132
1133#
1134# Was expect 3 before 2.4. Earlier versions did not handle implicit
1135# function pointers correctly.
1136#
1137
1138.PHONY: decl
1139decl:
11db3170 1140 $(SPLINTR) decl.c -expect 2
1141 $(SPLINTRN) decl.c +strict -exportlocal -expect 5
1142 $(SPLINTR) decl2 -expect 4
8fe44445 1143
1144.PHONY: enum
1145enum:
11db3170 1146 $(SPLINTR) enum -expect 16
1147 $(SPLINTR) enum -misscase -expect 14
8fe44445 1148
1149.PHONY: exports
1150exports:
11db3170 1151 $(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1152 $(SPLINTR) exports.c +exportany -expect 3
1153 $(SPLINTR) exports.c
8fe44445 1154
1155.PHONY: external
1156external:
11db3170 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
8fe44445 1162
1163.PHONY: fields
1164fields:
11db3170 1165 $(SPLINTR) fields.c +memchecks -expect 6
1166 $(SPLINTR) fields2.c +memchecks -expect 5
1167 $(SPLINTR) fields3.c +memchecks
8fe44445 1168
1169.PHONY: flags
1170flags:
11db3170 1171 $(SPLINTR) flags.c -expect 8
1172 $(SPLINTR) +nocomments flags.c -expect 2
8fe44445 1173
1174### Added 2001-06-02
1175
1176.PHONY: forbody
1177forbody:
11db3170 1178 ${SPLINTR} forbody.c -expect 2
8fe44445 1179
1180### Added 2001-06-03
1181.PHONY: format
1182format:
11db3170 1183 ${SPLINTR} format.c -expect 3
1184 ${SPLINTR} format.c -formatconst
8fe44445 1185
1186# two new errors (invalid lhs)
1187
1188.PHONY: funcpointer
1189funcpointer:
11db3170 1190 $(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
8fe44445 1191
5c2f3045 1192.PHONY: functionmacro
1193functionmacro:
1194 $(SPLINTR) functionmacro.c -expect 2
1195
8fe44445 1196.PHONY: glob
1197glob:
11db3170 1198 $(SPLINTR) glob -expect 4
1199 $(SPLINTR) glob -globuse -expect 3
1200 $(SPLINTR) glob +globunspec -expect 6
8fe44445 1201
1202.PHONY: globals
1203globals:
11db3170 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
8fe44445 1210
1211# Was -accessfile
1212.PHONY: impabstract
1213impabstract:
11db3170 1214 $(SPLINTR) -accessmodule impabstract.c
1215 $(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1216 $(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
8fe44445 1217
4c9767b3 1218###
1219### evans 2001-12-30: Handle unrecognized pre-processor directives
1220### (Reported by Pierluigi Sanzani)
1221
1222.PHONY: info
1223info:
1224 ${SPLINTR} info.c -expect 4
1225
8fe44445 1226### evans 2001-10-14: Expected errors updated
1227.PHONY: init
1228init:
11db3170 1229 $(SPLINTR) init.c -expect 14
1230 $(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
8fe44445 1231
1232.PHONY: inparam
1233inparam:
11db3170 1234 $(SPLINTR) inparam.c -expect 2
1235 $(SPLINTR) +impouts inparam.c -expect 1
8fe44445 1236
1237.PHONY: internal
1238internal:
11db3170 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
8fe44445 1244
1245###
1246### iter
1247### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1248###
1249
1250.PHONY: iter
1251iter:
11db3170 1252 $(SPLINTR) iter -expect 14 -lclexpect 1
1253 $(SPLINTR) iter2.c -expect 12
8fe44445 1254
1255.PHONY: keep
1256keep:
11db3170 1257 $(SPLINTR) keep.c +memchecks -expect 6
8fe44445 1258
1259### libs
1260### 2001-05-22: 2 new errors found (fixed spec of signal)
1261### 2001-05-30: 3 new errors found (formatconst)
1262
1263.PHONY: libs
1264libs:
11db3170 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
8fe44445 1269
1270.PHONY: lintcomments
1271lintcomments:
fafc64cf 1272 $(SPLINTR) lintcomments.c -expect 5
11db3170 1273 $(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1274 $(SPLINTR) lintcomments.c -lintcomments -expect 4
8fe44445 1275
1276.PHONY: list
1277list:
11db3170 1278 $(SPLINTR) list.c -expect 3
8fe44445 1279
1280.PHONY: macros
1281macros:
11db3170 1282 $(SPLINTR) macros -expect 17
1283 $(SPLINTR) macros.c +allmacros -expect 34
1284 $(SPLINTR) macros.c +fcnmacros -expect 31
8fe44445 1285
1286.PHONY: macrosef
1287macrosef:
11db3170 1288 $(SPLINTR) macrosef -expect 4
1289 $(SPLINTR) macrosef.c +allmacros -expect 3
1290 $(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
8fe44445 1291
1292.PHONY: merge
1293merge:
11db3170 1294 $(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
8fe44445 1295
60868d40 1296.PHONY: mergenull
1297mergenull:
1298 $(SPLINTRN) mergenull.c
1299
8fe44445 1300.PHONY: modifies
1301modifies:
11db3170 1302 $(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
8fe44445 1303
1304.PHONY: modtest
1305modtest:
11db3170 1306 $(SPLINTR) modtest -expect 10
1307 $(SPLINTR) modtest +modunspec -expect 13
1308 $(SPLINTR) modtest +mustmod -expect 14
8fe44445 1309
1310.PHONY: moduncon
1311moduncon:
11db3170 1312 $(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1313 $(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
8fe44445 1314
1315.PHONY: mongoincludes
1316mongoincludes:
11db3170 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
8fe44445 1322
1323.PHONY: mystrncat
1324mystrncat:
11db3170 1325 $(SPLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
8fe44445 1326
1327.PHONY: noeffect
1328noeffect:
11db3170 1329 ${SPLINT} -nof noeffect.c +allmacros +checks -expect 3
8fe44445 1330
1331.PHONY: null
1332null:
11db3170 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
8fe44445 1343
1344### Added for 3.0 (bugs reported by Kevin Broady)
1345
1346.PHONY: nullret
1347nullret:
11db3170 1348 $(SPLINTR) nullret.c -expect 2
1349 $(SPLINTR) -nullret nullret.c -expect 1
8fe44445 1350
1351.PHONY: nullassign
1352nullassign:
11db3170 1353 $(SPLINTR) nullassign.c -expect 2
1354 $(SPLINTR) -nullassign nullassign.c -expect 1
8fe44445 1355
1356#
1357# Before 2.4, expected one more because error was reported both as
1358# dependent and observer.
1359#
1360
1361.PHONY: observer
1362observer:
11db3170 1363 $(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1364 $(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1365 $(SPLINTR) observer.c -expect 7
8fe44445 1366
1367.PHONY: oldstyle
1368oldstyle:
11db3170 1369 $(SPLINTR) oldstyle -expect 3
8fe44445 1370
1371.PHONY: outglob
1372outglob:
11db3170 1373 $(SPLINTR) outglob -expect 10
8fe44445 1374
1375.PHONY: outparam
1376outparam:
11db3170 1377 $(SPLINTR) outparam -expect 12
8fe44445 1378
1379### evans 2001-08-26: postnotnull new
1380
1381.PHONY: postnotnull
1382postnotnull:
11db3170 1383 ${SPLINTR} postnotnull.c -expect 1
8fe44445 1384#
1385# Four new +fcnuse errors for -strict (evans 2001-07-22)
1386#
1387
1388.PHONY: preds
1389preds:
11db3170 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
8fe44445 1393
1394.PHONY: prefixes
1395prefixes:
11db3170 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
8fe44445 1412
1413.PHONY: printflike
1414printflike:
11db3170 1415 $(SPLINTR) printflike.c -expect 6
1416 $(SPLINTR) printflike.c -warnlintcomments -expect 5
8fe44445 1417
1418.PHONY: rc
1419rc:
11db3170 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
8fe44445 1425
60868d40 1426.PHONY: rcfiles
1427rcfiles:
1428 cd rcfiles; ${MAKE} SPLINT="$(SPLINTPNEST)"
1429
8fe44445 1430.PHONY: refcounts
1431refcounts:
11db3170 1432 $(SPLINTR) refcounts.c -expect 7
8fe44445 1433
1434.PHONY: release
1435release:
11db3170 1436 $(SPLINTR) release.c +memchecks -expect 1
8fe44445 1437
1438.PHONY: repexpose
1439repexpose:
11db3170 1440 $(SPLINTR) +lh repexpose +memchecks -expect 12
1441 $(SPLINTR) repexpose +memchecks +retalias -expect 15
1442 $(SPLINTRN) repexpose +checks -exportlocal -expect 27
8fe44445 1443
1444### returned added 2001-05-27
11db3170 1445### (Bug discovered checking splint sources.)
8fe44445 1446
1447.PHONY: returned
1448returned:
11db3170 1449 ${SPLINTR} returned.c -expect 1
8fe44445 1450
1451.PHONY: sharing
1452sharing:
11db3170 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
8fe44445 1458
1459.PHONY: slovaknames
1460slovaknames:
11db3170 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
8fe44445 1466
1467.PHONY: specclauses
1468specclauses:
11db3170 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
8fe44445 1474
1475.PHONY: special
1476special:
11db3170 1477 $(SPLINTR) special -expect 20
1478 $(SPLINTR) special -relaxquals -expect 22
8fe44445 1479
1480.PHONY: stack
1481stack:
11db3170 1482 $(SPLINTR) stack.c -expect 5
1483 $(SPLINTR) stack.c -stackref
8fe44445 1484
1485.PHONY: staticarray
1486staticarray:
11db3170 1487 $(SPLINTR) staticarray.c -expect 3
8fe44445 1488
1489.PHONY: strings
1490strings:
11db3170 1491 $(SPLINTR) strings.c -expect 3
1492 $(SPLINTR) -readonlystrings -expect 1 strings.c
1493 $(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
8fe44445 1494
1495.PHONY: structassign
1496structassign:
11db3170 1497 $(SPLINTR) structassign.c -expect 4
8fe44445 1498
1499.PHONY: typequals
1500typequals:
11db3170 1501 $(SPLINTR) typequals.c tq.lcl -expect 5
1502 $(SPLINTR) typequals.c -expect 2
8fe44445 1503
1504.PHONY: ud
1505ud:
11db3170 1506 $(SPLINTR) ud.c -expect 9
1507 $(SPLINTR) ud2 -specundef -expect 3
8fe44445 1508
1509.PHONY: ulstypes
1510ulstypes:
11db3170 1511 $(SPLINTR) ulstypes.c -expect 8
1512 $(SPLINTR) ulstypes.c +ignorequals
1513 $(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
146e25eb 1514
8fe44445 1515# 3 more detected with version 2.5 (change in -numliteral setting)
1516
1517.PHONY: union
1518union:
11db3170 1519 $(SPLINTR) +memchecks union.c -expect 8
8fe44445 1520
146e25eb 1521###
1522### Added 2001-12-30: fixed union initializer checking in response to
1523### bug report from Jim Zelenka.
1524###
1525
1526.PHONY: unioninit
1527unioninit:
1528 $(SPLINTR) unioninit.c -expect 2
1529
8fe44445 1530.PHONY: unreachable
1531unreachable:
11db3170 1532 $(SPLINTR) unreachable.c -expect 5
1533 $(SPLINTR) -unreachable unreachable.c -expect 2
1534 $(SPLINTR) switch.c -expect 4
8fe44445 1535
1536.PHONY: unsignedcompare
1537unsignedcompare:
11db3170 1538 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
8fe44445 1539
1540###
1541### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1542###
1543
1544.PHONY: unused
1545unused:
11db3170 1546 $(SPLINTRN) unused.c +checks -exportlocal -expect 5
1547 $(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
8fe44445 1548
1549###
1550### 2001-06-10: Provided by Jim Zalenka
1551###
1552
1553.PHONY: ullint
1554ullint:
11db3170 1555 ${SPLINTRN} ullint.c -expect 5
1556 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
8fe44445 1557
f2b6724f 1558###
1559### 2001-12-30: Poor warnings reported by Peter Deutsch
1560###
1561
1562.PHONY: utypes
1563utypes:
1564 ${SPLINTRN} utypes.c -expect 6
1565
1566###
1567
8fe44445 1568.PHONY: void
1569void:
11db3170 1570 ${SPLINTRN} void.c -expect 2
8fe44445 1571
e0b363ad 1572###
1573### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1574###
1575
1576.PHONY: widestrings
1577widestrings:
1578 ${SPLINTRN} widestrings.c -expect 2
1579
8fe44445 1580###
1581### New since 2.5q:
1582###
1583
1584.PHONY: linked
1585linked:
11db3170 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
8fe44445 1592
1593.PHONY: freearray
1594freearray:
11db3170 1595 ${SPLINTR} freearray.c -expect 1
8fe44445 1596
a469ccf0 1597.PHONY: sizeof
1598sizeof:
11db3170 1599 $(SPLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
a469ccf0 1600
1601.PHONY: buffertest
1602buffertest:
11db3170 1603 $(SPLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
8fe44445 1604
1605.PHONY: $(SUBDIRTESTS)
1606$(SUBDIRTESTS):
11db3170 1607 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
8fe44445 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.
1610.NOEXPORT:
This page took 0.307105 seconds and 5 git commands to generate.