home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lclint.zip / lclint-2_3h-os2-bin.zip / test / Makefile-test.os2 < prev    next >
Makefile  |  1997-09-03  |  16KB  |  509 lines

  1. ##################################################
  2. ###                                            ###
  3. ### Makefile for LCLint testing                ###
  4. ###                                            ### 
  5. ### designed for use with gmake (GNU make)     ### 
  6. ###                                            ###
  7. ##################################################
  8.  
  9. ###
  10. ### Very much simplified version for OS/2
  11. ###
  12. ### 1997 by herbert
  13. ###
  14.  
  15. # Command to run lclint
  16. LCLINT  = lclint
  17. LCLINTP = $(LCLINT)
  18.  
  19. # Make sure .lclintrc files are not used so test results do not
  20. # depend on local settings.
  21. LCLINTRN = $(LCLINTP) -nof -hints 
  22. LCLINTR = $(LCLINTRN) -exportlocal
  23.  
  24. UNITTESTS = abstptr abstract alias alttypes ansireserved argorder args blocks break cases cast charlit clauses commentchar compdestroy controldepth csyntax czechnames czechoslovaknames decl enum exports external fields flags funcpointer glob globals impabstract init inparam internal iter keep libs lintcomments list macros macrosef merge modifies modtest moduncon mongoincludes null observer oldstyle outglob outparam preds prefixes printflike rc refcounts release repexpose sharing slovaknames specclauses special stack staticarray strings structassign typequals ud ulstypes union unreachable unused tests2.2
  25.  
  26. UNITEXPECTS  = $(addsuffix .expect, $(UNITTESTS))
  27.  
  28. # not yet available
  29. # INTEGTESTS = db1 db2 db3
  30. INTEGEXPECTS  = $(addsuffix .expect, $(INTEGTESTS))
  31.  
  32. LCLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
  33.  
  34. #GREP = grep
  35. DIFF = diff
  36. #CLEANOUTPUT = $(GREP) -v "LCLint 2." | $(GREP) -v "make -e" | $(GREP) -v "make\[" | $(GREP) -v "lclint -nof" | $(GREP) -v "make  -e"
  37.  
  38. #all: fulltest
  39. quicktest: $(LCLINTTESTS)
  40.  
  41. #fulltest:
  42. #    @echo Testing $(LCLINTP)
  43. #    @echo Version:
  44. #    @$(LCLINTP) -help version
  45. #    @$(LCLINTP) -help vars
  46. #    @echo Unit Tests:
  47. #    @echo ===========
  48. #    $(foreach test, $(UNITTESTS),  \
  49. #       cmd /c (echo Checking $(test)...  & \
  50. #           $(MAKE) -e $(test) |& $(CLEANOUTPUT) > $(test).out & \
  51. #       $(DIFF) $(test).expect $(test).out & \
  52. #       if ($$status) echo *** FAIL *** )) 
  53. #    @echo Integration Tests
  54. #    @echo =================
  55. #    @$(foreach test, $(INTEGTESTS),  \
  56. #       echo "Checking "$(test)"... "; \
  57. #           $(MAKE) -e $(test) |& $(CLEANOUTPUT) > $(test).out ; \
  58. #       $(DIFF) $(test).expect $(test).out ; )
  59.  
  60. ###
  61. ### Unit Tests
  62. ###
  63.         
  64. version:
  65.     -$(LCLINTP) -help version
  66.  
  67. abstptr:
  68.     $(LCLINTR) abstptr -expect 9
  69.     $(LCLINTR) abstptr +voidabstract -expect 6
  70.  
  71. abstract:
  72.     $(LCLINTR) abst_t.lcl commentcmd.c -expect 15
  73.  
  74. alias:
  75.     $(LCLINTR) +lh mut
  76.     $(LCLINTR) mut alias +globalias -expect 19
  77.     $(LCLINTR) mut alias2 +globalias -expect 17
  78.     $(LCLINTR) +lh alias3 -expect 14 
  79.     $(LCLINTR) +lh alias4 +boolint
  80.     $(LCLINTR) alias4 -pred +retalias -expect 6
  81.     $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
  82.  
  83. alttypes:
  84.     $(LCLINTR) alttypes.c -expect 2
  85.  
  86. ansireserved:
  87.     $(LCLINTR) ansireserved.c +ansireserved -nolib -expect 8
  88.     $(LCLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
  89.     $(LCLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 9
  90.  
  91. argorder:
  92.     $(LCLINTR) argorder.c -expect 4
  93.     $(LCLINTR) argorder2  -expect 5
  94.     $(LCLINTR) argorder3.c -expect 8
  95.     $(LCLINTR) argorder4 -expect 9
  96.     $(LCLINTR) argorder4 -evalorder -expect 1
  97.     $(LCLINTR) argorder5.c +evalorderuncon -expect 3
  98.  
  99. args:
  100.     $(LCLINTR) args -noeffect -expect 12
  101.  
  102. blocks:
  103.     $(LCLINTR) blocks.c -expect 4
  104.     $(LCLINTR) blocks.c +ifblock +elseifcomplete -expect 7
  105.     $(LCLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
  106.     $(LCLINTR) blocks.c -ifempty +forempty +forblock -expect 3
  107.     $(LCLINTR) blocks.c +allempty -expect 6
  108.     $(LCLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
  109.  
  110. break:
  111.     $(LCLINTR) break.c -expect 4
  112.     $(LCLINTR) break.c +deepbreak -expect 6
  113.     $(LCLINTR) break.c +deepbreak -looploopbreak -expect 5
  114.  
  115. cases: 
  116.     $(LCLINTR) cases.c -expect 5
  117.     $(LCLINTR) cases2.c -expect 2
  118.     $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
  119.     $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
  120.  
  121. cast:
  122.     $(LCLINTR) cast -accessmodule -expect 20
  123.     $(LCLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
  124.  
  125. charlit:
  126.     $(LCLINTR) +hints charlit.c -expect 4
  127.     $(LCLINTR) +hints -numliteral charlit.c -expect 5
  128.     $(LCLINTR) +hints charlit.c +charintliteral +ignoresigns
  129.  
  130. clauses: 
  131.     $(LCLINTR) clauses.c +memchecks -expect 4
  132.     $(LCLINTR) clauses2.c +memchecks 
  133.     $(LCLINTR) clauses3.c +memchecks -expect 2
  134.     $(LCLINTR) clauses3.c +memchecks +unixlib -expect 3
  135.  
  136. commentchar:
  137.     $(LCLINTR) commentchar.c -expect 4
  138.     $(LCLINTR) -commentchar '#' commentchar.c -expect 4
  139.  
  140. controldepth:
  141.     $(LCLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
  142.     $(LCLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
  143.  
  144. compdestroy:
  145.     $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
  146.     $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
  147.     $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
  148.     $(LCLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
  149.  
  150. csyntax:
  151.     $(LCLINTR) +quiet -incondefs csyntax.c 
  152.     $(LCLINTR) +quiet csyntax2.c
  153.     $(LCLINTR) +quiet csyntax3.c
  154.     $(LCLINTR) +quiet -incondefs csyntax4.c
  155.     $(LCLINTR) +quiet csyntax5.c
  156.     $(LCLINTR) +quiet csyntax6.c
  157.     $(LCLINTR) +quiet csyntax7.c
  158.     $(LCLINTR) +quiet csyntax8.c
  159.     $(LCLINTR) +quiet csyntax9.c
  160.     $(LCLINTR) +quiet csyntax10.c
  161.     $(LCLINTR) +quiet csyntax11.c
  162.     $(LCLINTR) +quiet csyntax12.c
  163.     $(LCLINTR) +quiet csyntax13.c
  164.     $(LCLINTR) +quiet csyntax14.c
  165.     $(LCLINTR) +quiet csyntax15.c
  166.     $(LCLINTR) +quiet csyntax16.c
  167.     $(LCLINTR) +quiet csyntax17.c
  168.  
  169. czechnames:
  170.     $(LCLINTR) czechnames.c
  171.     $(LCLINTR) +hints +czech czechnames.c -expect 2
  172.     $(LCLINTR) +hints +czech -czechvars czechnames.c -expect 1
  173.     $(LCLINTR) +hints +czech -accessczech czechnames.c -expect 6
  174.  
  175. czechoslovaknames:
  176.     $(LCLINTR) +hints +czechoslovak czechnames.c -expect 1
  177.     $(LCLINTR) +hints +czechoslovak slovaknames.c -expect 1
  178.     $(LCLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
  179.  
  180. decl:
  181.     $(LCLINTR) decl.c -expect 3
  182.     $(LCLINTRN) decl.c +strict -exportlocal -expect 6
  183.     $(LCLINTR) decl2 -expect 4
  184.  
  185. enum:
  186.     $(LCLINTR) enum -expect 16
  187.     $(LCLINTR) enum -misscase -expect 14
  188.  
  189. exports:
  190.     $(LCLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
  191.     $(LCLINTR) exports.c +exportany -expect 3
  192.     $(LCLINTR) exports.c
  193.  
  194. external:
  195.     $(LCLINTR) external.c +partial
  196.     $(LCLINTR) external.c +partial +distinctexternalnames -expect 2
  197.     $(LCLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
  198.     $(LCLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
  199.     $(LCLINTR) external.c +partial -externalnamelength 3 -expect 4
  200.  
  201. fields:
  202.     $(LCLINTR) fields.c +memchecks -expect 6
  203.     $(LCLINTR) fields2.c +memchecks -expect 5
  204.     $(LCLINTR) fields3.c +memchecks
  205.  
  206. flags:
  207.     $(LCLINTR) flags.c -expect 8
  208.     $(LCLINTR) +nocomments flags.c -expect 2
  209.  
  210. funcpointer:
  211.     $(LCLINTR) +memchecks +noparams funcpointer.c -expect 16
  212.  
  213. glob:
  214.     $(LCLINTR) glob -expect 4
  215.     $(LCLINTR) glob -globuse -expect 3
  216.     $(LCLINTR) glob +globunspec -expect 6
  217.  
  218. globals:
  219.     $(LCLINTR) -modifies globals.c -expect 5
  220.     $(LCLINTR) -modifies globals.c +allglobals -expect 6
  221.     $(LCLINTR) -modifies globals.c +impcheckedglobals -expect 6
  222.     $(LCLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
  223.     $(LCLINTR) -modifies globals.c +globunspec -expect 6
  224.     $(LCLINTR) -modifies globals.c +globunspec +allglobals -expect 8
  225.  
  226. impabstract:
  227.     $(LCLINTR) -accessfile impabstract.c 
  228.     $(LCLINTR) -accessfile +hints +impabstract impabstract.c -expect 2
  229.     $(LCLINTR) -accessfile +hints +impabstract impabstract -expect 2
  230.  
  231. init:
  232.     $(LCLINTR) init.c -expect 12
  233.     $(LCLINTRN) init.c +checks -exportlocal -exportheadervar -expect 15
  234.  
  235. inparam:
  236.     $(LCLINTR) inparam.c -expect 2
  237.     $(LCLINTR) +impouts inparam.c -expect 1
  238.  
  239. internal:
  240.     $(LCLINTR) internal.c -expect 1
  241.     $(LCLINTR) internal.c +distinctinternalnames -expect 2
  242.     $(LCLINTR) internal.c -internalnamelen 28 -expect 3
  243.     $(LCLINTR) internal.c +internalnamecaseinsensitive -expect 3
  244.     $(LCLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
  245.  
  246. iter:
  247.     $(LCLINTR) iter -expect 14 -lclexpect 1
  248.     $(LCLINTR) iter2.c -expect 12
  249.  
  250. keep:
  251.     $(LCLINTR) keep.c +memchecks -expect 6
  252.  
  253. libs:
  254.     $(LCLINTR) libs.c +longunsignedunsignedintegral -expect 13
  255.     $(LCLINTR) libs.c -expect 17
  256.     $(LCLINTR) libs.c +globunspec +modunspec -expect 20
  257.     $(LCLINTR) libs.c +strictlib +globunspec +modunspec -expect 37
  258.  
  259. lintcomments:
  260.     $(LCLINTR) lintcomments.c -expect 4
  261.     $(LCLINTR) lintcomments.c -warnlintcomments -expect 1
  262.     $(LCLINTR) lintcomments.c -lintcomments -expect 4
  263.  
  264. list:
  265.     $(LCLINTR) list.c -expect 3
  266.  
  267. macros:
  268.     $(LCLINTR) macros -expect 17 
  269.     $(LCLINTR) macros.c +allmacros -expect 34
  270.     $(LCLINTR) macros.c +fcnmacros -expect 31
  271.  
  272.  
  273. macrosef:
  274.     $(LCLINTR) macrosef -expect 4
  275.     $(LCLINTR) macrosef.c +allmacros -expect 3
  276.     $(LCLINTR) macrosef.c +allmacros +sefuncon -expect 4
  277.  
  278. merge:
  279.     $(LCLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
  280.  
  281. modifies:
  282.     $(LCLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
  283.  
  284. modtest:
  285.     $(LCLINTR) modtest -expect 10
  286.     $(LCLINTR) modtest +modunspec -expect 13
  287.     $(LCLINTR) modtest +mustmod -expect 14
  288.  
  289. moduncon:
  290.     $(LCLINTR) moduncon.c +moduncon -memchecks -expect 4
  291.     $(LCLINTRN) moduncon.c +strict -exportlocal -expect 22
  292.  
  293. mongoincludes:
  294.     $(LCLINTR) mongoincludes.c -includenest 1 -expect 19
  295.     $(LCLINTR) mongoincludes.c -includenest 2 -expect 10
  296.     $(LCLINTR) mongoincludes.c -includenest 3 -expect 4
  297.     $(LCLINTR) mongoincludes.c -includenest 4 -expect 1
  298.     $(LCLINTR) mongoincludes.c -includenest 5 -expect 0
  299.  
  300. null: 
  301.     $(LCLINTR) null1.c -expect 14
  302.     $(LCLINTR) null1.c -null -expect 4
  303.     $(LCLINTR) null2.c -expect 10
  304.     $(LCLINTR) null3.c -expect 15
  305.     $(LCLINTR) null3.c -warnunixlib +unixlib -expect 16
  306.     $(LCLINTR) null4.c -expect 1
  307.     $(LCLINTR) null5.c -expect 4
  308.     $(LCLINTR) null6 -expect 4
  309.     $(LCLINTR) +quiet null6.lcl -dump null6
  310.     $(LCLINTR) null6.c -load null6 -expect 4
  311.  
  312. observer:
  313.     $(LCLINTRN) observer +checks -exportlocal -exportheader -expect 10
  314.     $(LCLINTRN) observer.c +checks -exportlocal -exportheader -expect 9
  315.     $(LCLINTR) observer.c -expect 8
  316.  
  317. oldstyle:
  318.     $(LCLINTR) oldstyle -expect 3
  319.  
  320. outglob:
  321.     $(LCLINTR) outglob -expect 10
  322.  
  323. outparam:
  324.     $(LCLINTR) outparam -expect 12
  325.  
  326. preds:
  327.     $(LCLINTR) +hints preds.c -expect 6
  328.     $(LCLINTRN) +hints preds.c -weak -expect 1
  329.     $(LCLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 8
  330.  
  331. prefixes:
  332.     $(LCLINTR) prefixes.c +partial
  333.     $(LCLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
  334.     $(LCLINTR) prefixes.c -typeprefix "T" -expect 2
  335.     $(LCLINTR) prefixes.c -typeprefix "^" -expect 1
  336.     $(LCLINTR) prefixes.c -typeprefix "^*" -expect 2
  337.     $(LCLINTR) prefixes.c -typeprefix "^%*" -expect 2
  338.     $(LCLINTR) prefixes.c -typeprefix "^~*" -expect 2
  339.     $(LCLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
  340.     $(LCLINTR) prefixes.c -filestaticprefix "^^" -expect 4
  341.     $(LCLINTR) prefixes.c -filestaticprefix "^#" -expect 5
  342.     $(LCLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
  343.     $(LCLINTR) prefixes.c -globalprefix "G" -expect 1
  344.     $(LCLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
  345.     $(LCLINTR) prefixes.c -externalprefix "G" -expect 5
  346.     $(LCLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
  347.     $(LCLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
  348.  
  349. printflike:
  350.     $(LCLINTR) printflike.c -expect 6
  351.     $(LCLINTR) printflike.c -warnlintcomments -expect 5
  352.  
  353. rc:
  354.     -$(LCLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
  355.     -$(LCLINTR) -DMYSTERY=12 rc.c -expect 1
  356.     -$(LCLINTR) -f rc1.lclintrc rc.c
  357.     -$(LCLINTR) -UMYSTERY -f rc1.lclintrc rc.c -expect 1
  358.     -$(LCLINTR) -f rc3.lclintrc.os2 rc.c -expect 1
  359.  
  360. refcounts:
  361.     $(LCLINTR) refcounts.c -expect 7 
  362.  
  363. release:
  364.     $(LCLINTR) release.c +memchecks -expect 1
  365.  
  366. repexpose:
  367.     $(LCLINTR) +lh repexpose +memchecks -expect 12
  368.     $(LCLINTR) repexpose +memchecks +retalias -expect 15
  369.     $(LCLINTRN) repexpose +checks -exportlocal -expect 27
  370.  
  371. sharing: 
  372.     $(LCLINTR) sharing1.c -expect 24
  373.     $(LCLINTR) sharing3.c -expect  3
  374.     $(LCLINTR) sharing4.c -expect 13
  375.     $(LCLINTR) sharing4.c -paramimptemp -expect 11
  376.     $(LCLINTR) sharing5.c -expect 6
  377.  
  378. slovaknames:
  379.     $(LCLINTR) +hints slovaknames.c -expect 1
  380.     $(LCLINTR) +hints slovaknames.c +accessslovak 
  381.     $(LCLINTR) +hints +slovak slovaknames.c -expect 3
  382.     $(LCLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
  383.     $(LCLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
  384.  
  385. specclauses:
  386.     $(LCLINTR) specclauses.c -expect 5
  387.     $(LCLINTR) specclauses2.c -expect 8
  388.     $(LCLINTR) specclauses3.c -expect 6
  389.     $(LCLINTR) specclauses4.c -expect 3
  390.     $(LCLINTR) specclauses5.c -expect 3
  391.  
  392. special:
  393.     $(LCLINTR) special -expect 20
  394.     $(LCLINTR) special -relaxquals -expect 22
  395.  
  396. stack:
  397.     $(LCLINTR) stack.c -expect 5
  398.     $(LCLINTR) stack.c -stackref
  399.  
  400. staticarray:
  401.     $(LCLINTR) staticarray.c -expect 3
  402.  
  403. strings:
  404.     $(LCLINTR) strings.c -expect 3
  405.     $(LCLINTR) -readonlystrings -expect 1 strings.c
  406.     $(LCLINTR) +modobserverstrict -maintype -expect 4 strings.c
  407.  
  408. structassign:
  409.     $(LCLINTR) structassign.c -expect 4
  410.  
  411. typequals:
  412.     $(LCLINTR) typequals.c tq.lcl -expect 5
  413.     $(LCLINTR) typequals.c -expect 2
  414.  
  415. ud:
  416.     $(LCLINTR) ud.c -expect 9
  417.     $(LCLINTR) ud2 -specundef -expect 3
  418.  
  419. ulstypes:
  420.     $(LCLINTR) ulstypes.c -expect 8
  421.     $(LCLINTR) ulstypes.c +ignorequals 
  422.     $(LCLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 25
  423.  
  424. union:
  425.     $(LCLINTR) +memchecks union.c -expect 8
  426.  
  427. unreachable:
  428.     $(LCLINTR) unreachable.c -expect 6
  429.     $(LCLINTR) -unreachable unreachable.c -expect 2
  430.     $(LCLINTR) switch.c -expect 4
  431.  
  432. unused:
  433.     $(LCLINTRN) unused.c +checks -exportlocal -expect 3
  434.     $(LCLINTRN) unused.c +checks -exportlocal +topuse -expect 6
  435.  
  436. ###
  437. ### Bugs fixed and new features since version 2.1b
  438. ###
  439.  
  440. tests2.2:
  441.     @cd tests2.2 ; \
  442.     $(LCLINTR) boolops.c -expect 1 ; \
  443.         $(LCLINTR) booldef.c -expect 1 ; \
  444.     $(LCLINTR) boolenum.c -booltype BOOLEAN -expect 1 ; \
  445.         $(LCLINTR) break.c -expect 1 ; \
  446.         $(LCLINTR) bstring.c -expect 2 ; \
  447.         $(LCLINTR) decl.c -expect 1 ; \
  448.         $(LCLINTR) enumbool.c -expect 2 ; \
  449.         $(LCLINTR) enumbool.c -booltrue "true" -boolfalse "false" ; \
  450.     $(LCLINTR) +gnuextensions extension.c ; \
  451.     $(LCLINTR) extension.c ; \
  452.     $(LCLINTR) modarray.c ; \
  453.     $(LCLINTR) nestext.c -expect 1 ; \
  454.     $(LCLINTR) offsetof.c ; \
  455.     $(LCLINTR) sizeofarray.c -expect 3 ; \
  456.     $(LCLINTR) libraries.c -load obsolete ; \
  457.     $(LCLINTR) libraries.c -load oldversion -expect 1 ; \
  458.     $(LCLINTR) libraries.c +posixlib -dump libraries ; \
  459.     $(LCLINTR) libraries.c -load libraries ; \
  460.     $(LCLINTR) rex.c -expect 1 ; \
  461.     $(LCLINTR) struct.c -expect 1
  462.  
  463. tests2.2a:
  464.     @cd tests2.2a ; \
  465.     $(LCLINT) erik.c -expect 1 ; \
  466.     $(LCLINT) boolcomp.c -expect 5 ; \
  467.     $(LCLINT) boolenum.c ; \
  468.     $(LCLINT) addassign.c -expect 1; \
  469.     $(LCLINT) toralf.c -expect 5 ; \
  470.     $(LCLINT) fred.c -booltype Bool ; \
  471.     $(LCLINT) sizeof.c ; \
  472.     $(LCLINT) arrayparam.c -expect 5 ; \
  473.     $(LCLINT) notreached.c ; \
  474.     $(LCLINT) duff.c -casebreak ; \
  475.     $(LCLINT) obviousloop.c -expect 4 ; \
  476.     $(LCLINT) bitops.c +bitwisesigned -expect 11 ; \
  477.     $(LCLINT) bitops.c -expect 6 ; \
  478.     $(LCLINT) isalpha.c +strictlib -expect 1 ; \
  479.     $(LCLINT) isalpha.c ; \
  480.     $(LCLINT) dobb.c ; \
  481.     $(LCLINT) popik.c -expect 11
  482.  
  483.  
  484.  
  485.  
  486. ###
  487. ### Integration Tests
  488. ###
  489.  
  490. db1:
  491.     setenv LCLINT '$(LCLINTR)'; cd db1; $(MAKE) -e test
  492.  
  493. db2:
  494.     setenv LCLINT '$(LCLINTR)'; cd db2; $(MAKE) -e test
  495.  
  496. db3:
  497.     setenv LCLINT '$(LCLINTR)'; cd db3; $(MAKE) -e test
  498.  
  499. ###
  500. ### More integration tests are used locally.  If you are developing 
  501. ### LCLint send mail to evs@larch.lcs.mit.edu to obtain extra 
  502. ### integration test cases.
  503.  
  504. clean:
  505.     -rm -f *~ #*# *.o *.lcs a.out 
  506.     -cd db1 ; $(MAKE) clean
  507.     -cd db2 ; $(MAKE) clean
  508.     -cd db3 ; $(MAKE) clean
  509.