Skip to content

Commit

Permalink
Fix coverage collection reporting (#12)
Browse files Browse the repository at this point in the history
lcov did not count unused inline functions, causing the coverage count
to be higher than it actually was.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
  • Loading branch information
djarek committed Feb 6, 2020
1 parent 651fdbc commit 0acf8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
gccdefault_coverage:
CMAKE_VARIANT: Debug
CXXFLAGS: '-Wall -Wextra -Wconversion -pedantic -fprofile-arcs --coverage'
CXXFLAGS: '-Wall -Wextra -Wconversion -pedantic -fprofile-arcs -fkeep-inline-functions --coverage'
CXX: g++
CC: gcc
SKIP_COVERAGE: 'false'
Expand Down

0 comments on commit 0acf8f6

Please sign in to comment.