Add overall coverage to report

This commit is contained in:
Ian Howell 2019-05-14 13:00:06 -05:00
parent f3fa2b6bd2
commit a72cd0e486

View File

@ -8,6 +8,8 @@ check_coverage() {
if (( "${coverage_int}" < "${MIN_COVERAGE}" )) ; then if (( "${coverage_int}" < "${MIN_COVERAGE}" )) ; then
echo "Coverage is at ${coverage_float}, but the required coverage is ${MIN_COVERAGE}" echo "Coverage is at ${coverage_float}, but the required coverage is ${MIN_COVERAGE}"
exit 1 exit 1
else
echo "Overall coverage: ${coverage_float} of statements"
fi fi
} }