]> andersk Git - splint.git/blob - test/tests2.4/Makefile
Added some new test cases also merged with Dave Evans's tests.
[splint.git] / test / tests2.4 / Makefile
1 .PHONY: emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source
2
3 LCLINT = lclint
4
5 all: emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source
6
7 emptycase:
8         $(LCLINT) emptycase.c 
9
10 enumtest:
11         $(LCLINT) enumtest.c -expect 2
12
13 duffs:
14         $(LCLINT) duffs.c -expect 7
15
16 bitfields:
17         $(LCLINT) bitfields.c
18
19 bugs:
20         $(LCLINT) bug1.c ; \
21         $(LCLINT) bug2.c -expect 5 ; \
22         $(LCLINT) bug3.c -expect 3
23
24 tests:
25         $(LCLINT) test0.c ; \
26         $(LCLINT) test1.c ; \
27         $(LCLINT) test2.c 
28
29 hexconstants:
30         $(LCLINT) hexconstants.c -expect 1 ; \
31         $(LCLINT) +checks hexconstants.c -expect 4
32
33 innercomment:
34         $(LCLINT) innercomment.c 
35
36 nothing:
37         $(LCLINT) nothing.c 
38
39 offsetof:
40         $(LCLINT) offsetof.c -expect 2 
41
42 komazi:
43         $(LCLINT) komazi.c 
44
45 print:
46         $(LCLINT) print.c 
47
48 syslog:
49         $(LCLINT) syslog.c -warnunixlib +unixlib 
50
51 error:
52         $(LCLINT) error.c -expect 1 
53
54 ulrich:
55         $(LCLINT) ulrich.c -expect 1
56
57 cpptest:
58         $(LCLINT) cpptest.c '-D__P(x)=x' -expect 1
59
60 longlong:
61         $(LCLINT) longlong.c -expect 4
62
63 subdir:
64         $(LCLINT) subdir/main.c subdir/main.lcl
65
66 fink:
67         $(LCLINT) fink.c 
68
69 driverstub:
70         $(LCLINT) driverstub.c
71
72 alignof:
73         $(LCLINT) alignof.c -expect 2
74
75 source:
76         $(LCLINT) -D DBL_MANT_DIG=25 source.c
This page took 0.105524 seconds and 5 git commands to generate.