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