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