mirror of https://github.com/getdnsapi/getdns.git
Only merge non empty lcov info files
This commit is contained in:
parent
028ceb7ebf
commit
7f30aba6bd
|
@ -11,7 +11,7 @@ do
|
|||
# after the test is complete, we need to collect the coverage data
|
||||
INFO_FILE=`echo $TEST_PKG | sed 's/.tpkg$//'`.info
|
||||
geninfo $SRCDIR/.. -o $INFO_FILE
|
||||
LCOV_MERGE="$LCOV_MERGE -a $INFO_FILE"
|
||||
[ -s $INFO_FILE ] && LCOV_MERGE="$LCOV_MERGE -a $INFO_FILE"
|
||||
done
|
||||
lcov $LCOV_MERGE -o run-all.info
|
||||
genhtml run-all.info --output-directory coverage-html
|
||||
|
|
Loading…
Reference in New Issue