forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4211673
committed
Exclude flex-generated code from coverage testing
Flex generates a lot of functions that are not actually used. In orderto avoid coverage figures being ruined by that, mark up the part of the.l files where the generated code appears by lcov exclusion markers.That way, lcov will typically only reported on coverage for the .l file,which is under our control, but not for the .c file.Reviewed-by: Michael Paquier <michael.paquier@gmail.com>1 parentcf5ba7c commit4211673
File tree
12 files changed
+47
-1
lines changed- contrib
- cube
- seg
- src
- backend
- bootstrap
- parser
- replication
- utils/misc
- bin
- pgbench
- psql
- fe_utils
- interfaces/ecpg/preproc
- test/isolation
12 files changed
+47
-1
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
| 8 | + | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| |||
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
| 61 | + | |
| 62 | + | |
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
| |||
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
| 56 | + | |
| 57 | + | |
54 | 58 |
| |
55 | 59 |
| |
56 | 60 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
| 138 | + | |
| 139 | + | |
137 | 140 |
| |
138 | 141 |
| |
139 | 142 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| |||
1011 | 1014 |
| |
1012 | 1015 |
| |
1013 | 1016 |
| |
| 1017 | + | |
| 1018 | + | |
1014 | 1019 |
| |
1015 | 1020 |
| |
1016 | 1021 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
| 42 | + | |
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
| |||
186 | 188 |
| |
187 | 189 |
| |
188 | 190 |
| |
| 191 | + | |
189 | 192 |
| |
190 | 193 |
| |
191 | 194 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
112 | 114 |
| |
113 | 115 |
| |
114 | 116 |
| |
| 117 | + | |
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
60 | 62 |
| |
61 | 63 |
| |
62 | 64 |
| |
| |||
107 | 109 |
| |
108 | 110 |
| |
109 | 111 |
| |
110 |
| - | |
| 112 | + | |
111 | 113 |
| |
112 | 114 |
| |
113 | 115 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
| 47 | + | |
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
| |||
190 | 192 |
| |
191 | 193 |
| |
192 | 194 |
| |
| 195 | + | |
| 196 | + | |
193 | 197 |
| |
194 | 198 |
| |
195 | 199 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| 70 | + | |
| 71 | + | |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
| |||
468 | 470 |
| |
469 | 471 |
| |
470 | 472 |
| |
| 473 | + | |
| 474 | + | |
471 | 475 |
| |
472 | 476 |
| |
473 | 477 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
74 | 76 |
| |
75 | 77 |
| |
76 | 78 |
| |
| |||
899 | 901 |
| |
900 | 902 |
| |
901 | 903 |
| |
| 904 | + | |
| 905 | + | |
902 | 906 |
| |
903 | 907 |
| |
904 | 908 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
| 83 | + | |
82 | 84 |
| |
83 | 85 |
| |
84 | 86 |
| |
| |||
1249 | 1251 |
| |
1250 | 1252 |
| |
1251 | 1253 |
| |
| 1254 | + | |
1252 | 1255 |
| |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
1253 | 1259 |
| |
1254 | 1260 |
| |
1255 | 1261 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
93 | 95 |
| |
94 | 96 |
| |
95 | 97 |
| |
| 98 | + | |
| 99 | + | |
96 | 100 |
| |
97 | 101 |
| |
98 | 102 |
| |
|
0 commit comments
Comments
(0)