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