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