Added coverage stats to regression coverage script.

This commit is contained in:
Revar Desmera
2019-11-09 21:59:12 -08:00
parent a26bb92978
commit b8b19de737
2 changed files with 8 additions and 1 deletions

View File

@@ -53,5 +53,12 @@ for cnt, filename in sorted(mostest, key=operator.itemgetter(0)):
for funcname in filefuncs:
print(" {}".format(funcname))
print(
"Total coverage: {} of {} functions ({:.2f}%)".format(
len(uncovered.keys()),
len(funcs.keys()),
100.0*len(uncovered.keys())/len(funcs.keys())
)
)
# vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap

View File

@@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,21];
BOSL_VERSION = [2,0,22];
// Section: BOSL Library Version Functions