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