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