Change-Id: I54f90d31b9ed2dc1f7a434e1ee161e9dc3e2eebd
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
ctest --output-on-failure --timeout 100
if [ ${TEST} -ne 0 -a ${COVERAGE} -ne 0 ]; then \
- lcov -c --ignore-errors graph --no-external -b . -d . -o ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info; \
+ lcov -c --ignore-errors mismatch,graph,unused --no-external -b . -d . -o ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info; \
genhtml ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info -o ${AITT_BUILD_ROOT_PATH}/html --legend --show-details; \
fi
.PHONY: override_dh_link
%if 0%{test} && 0%{gcov}
# Extract coverage information
-lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}_gcov.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -b . -d . -o %{name}_gcov.info
genhtml %{name}_gcov.info -o out --legend --show-details
%endif