Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
6e7ac6e2
Unverified
Commit
6e7ac6e2
authored
Jun 11, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lcov: Exclude unreachable-by-design lines
parent
5801823d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
Makefile.am
src/Makefile.am
+1
-1
lcovrc
src/lcovrc
+1
-0
vdp_pesi.c
src/vdp_pesi.c
+2
-0
No files found.
src/Makefile.am
View file @
6e7ac6e2
...
...
@@ -107,7 +107,7 @@ QUIET = $(QUIET_@AM_V@)
coverage/lcov.info
:
gcov
if
HAVE_LCOV
$(AM_V_at)@mkdir
$(builddir)/coverage
$(AM_V_GEN)
$(LCOV)
$(QUIET)
-c
-d
.
-o
$(builddir)/coverage/lcov.info
$(AM_V_GEN)
$(LCOV)
$(QUIET)
-
-config-file
$(srcdir)/lcovrc
-
c
-d
.
-o
$(builddir)/coverage/lcov.info
else
@echo
"================================================="
@echo
"You need lcov installed to generate coverage data"
...
...
src/lcovrc
0 → 100644
View file @
6e7ac6e2
lcov_excl_line = default:|INCOMPL\(\)|WRONG
src/vdp_pesi.c
View file @
6e7ac6e2
...
...
@@ -1120,6 +1120,7 @@ const struct vdp VDP_pesi = {
* transport interface
*/
//LCOV_EXCL_START
static
int
v_matchproto_
(
vtr_minimal_response_f
)
vped_minimal_response
(
struct
req
*
req
,
uint16_t
status
)
{
...
...
@@ -1127,6 +1128,7 @@ vped_minimal_response(struct req *req, uint16_t status)
(
void
)
status
;
WRONG
(
"esi:includes should not try minimal responses"
);
}
//LCOV_EXCL_STOP
static
void
v_matchproto_
(
vtr_reembark_f
)
vped_reembark
(
struct
worker
*
wrk
,
struct
req
*
req
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment