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