Skip to content

Commit

Permalink
Added overall coverage total file
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelzon committed Dec 12, 2023
1 parent 58aa3d4 commit 7019f30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ledger/coverage/gen-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if [[ $1 == "exec" ]]; then

lcov --capture --directory $SRCDIR --list-full-path --output-file $BASEDIR/coverage.info
genhtml $BASEDIR/coverage.info --output $BASEDIR/output -p $SRCDIR
lcov --summary $BASEDIR/coverage.info | grep lines | sed -e "s/.\+lines.\+: \([[:digit:].]\+\).\+/\1/g" > $BASEDIR/output/total
mv $BASEDIR/coverage.info $BASEDIR/output
else
# Script directory
Expand Down

0 comments on commit 7019f30

Please sign in to comment.