TOP_DIR="test" LCOV_BASE="$TOP_DIR/lcov_coverage.base" LCOV_INFO="$TOP_DIR/lcov_coverage.info" LCOV_INFO_TMP="$TOP_DIR/lcov_coverage.info_tmp" LCOV_INFO_TMP2="$TOP_DIR/lcov_coverage.info_tmp2" LCOV_INFO_TMP3="$TOP_DIR/lcov_coverage.info_tmp3" LCOV_INFO_TMP4="$TOP_DIR/lcov_coverage.info_tmp4" LCOV_INFO_FINAL="$TOP_DIR/lcov_coverage_final.info" LCOV_RESULTS_DIR="$TOP_DIR/lcov-results" ### check to see if lcov offers the --rc option LCOV_RC_BC="" GENHTML_USE_BC="" if `lcov -h | grep -q "\-\-rc"`; then LCOV_RC_BC="--rc lcov_branch_coverage=1" GENHTML_USE_BC="--branch-coverage" fi