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