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