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