summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 52ffcc1..68a6370 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -62,8 +62,12 @@ list_missing() {
fi
done
if [[ -v $1 ]]; then
- coverage=$((100*(total-missing)/total))
+ covered=$((total-missing))
+ coverage=$((100*covered/total))
echo "COVERAGE=$coverage"
+ echo "TOTAL=$total"
+ echo "COVERED=$covered"
+ echo "MISSING=$missing"
fi
}