]>
Commit | Line | Data |
---|---|---|
e4c9f289 | 1 | .PHONY: boolt testalt booltest boolbad hoof testalt uconstants |
cc78dedd | 2 | |
3 | LCLINT = lclint | |
4 | ||
e4c9f289 | 5 | all: testalt boolt uconstants badcomment hoof boolbad booltest |
cc78dedd | 6 | |
7 | testalt: | |
8 | ${LCLINT} -dump newlint.lcd testalt.c | |
9 | ||
10 | boolt: | |
11 | ${LCLINT} -expect 1 +partial +booltype pan_bool_t +booltrue PAN_TRUE +boolfalse PAN_FALSE boolt.c | |
12 | ||
13 | uconstants: | |
14 | ${LCLINT} uconstants.c -expect 2 | |
15 | ||
16 | badcomment: | |
17 | ${LCLINT} badcomment.c -expect 3 | |
18 | ||
19 | hoof: | |
20 | ${LCLINT} hoof.c -expect 1 | |
21 | ${LCLINT} hoof.c +ignorequals | |
22 | ||
23 | ignorecmd: | |
24 | ${LCLINT} +ignorecommand -we | |
25 | ||
26 | booltest: | |
27 | ${LCLINT} booltest.c -booltype bool -expect 2 | |
28 | ${LCLINT} booltest.c -booltype bool +boolint | |
29 | ${LCLINT} booltest.c -booltype bool -predboolint -expect 1 | |
30 | ||
31 | boolbad: | |
32 | ${LCLINT} -weak -booltype BOOLEAN boolbad.c |