Added remainder of runtest scripts to make lcov command. Code coverage goes from 57.9% to 72.1%

Former-commit-id: f99cba0b92d921b1a2d350f2c7545138485c2a74
This commit is contained in:
VivekSainiEQ 2020-11-27 22:57:18 +00:00 committed by John Sully
parent 6632bafced
commit 6c16fe69e7

View File

@ -400,7 +400,7 @@ check: test
lcov:
$(MAKE) gcov
@(set -e; cd ..; ./runtest --clients 1)
@(set -e; cd ..; ./runtest; ./runtest-sentinel; ./runtest-cluster; ./runtest-moduleapi)
@geninfo -o KeyDB.info --no-external .
@genhtml --legend -o lcov-html KeyDB.info
@genhtml --legend -o lcov-html KeyDB.info | grep lines | awk '{print $$2;}' | sed 's/%//g'