4 source ${TOOLS_DIR}/env_linux.sh
6 export GCOV_DIR=${GCOV_DIR:-${BUILD_DIR}}
8 echo "Collect coverage data..."
9 lcov --capture --directory ${GCOV_DIR} --output-file coverage.info
11 echo "Generate HTML for coverage data..."
12 genhtml coverage.info --output-directory ${1:-lcov_html}