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