diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test.sh | 6 |
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 } |
