Counting test cases themselves in the report just inflates the coverage
since they tend to have a lot of lines that are executed unconditionally.
Change-Id: I74f961fb8432bbfef06fa522e06aad650ad94a6c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
# gcov generates data for /usr/include/ but lcov can't find their sources.
# This also removes clutter from dlog's own include dir (just thin wrappers).
+# Tests themselves are also removed because their coverage is not meaningful.
# Ideally this would be done in the -c step above but I couldn't figure out how to.
-lcov --remove raw_lcov_trace '*/include/*' -o filtered_lcov_trace
+lcov --remove raw_lcov_trace '*/include/*' '*/src/tests/*' -o filtered_lcov_trace
# Seek the results in index.html in dlog's build dir
genhtml filtered_lcov_trace