[test suite] bug fix in lcov coverage generation to pull in _base and _info into the final result

This commit is contained in:
Michael Rash
2016-01-11 22:22:02 -05:00
parent 1ace0ac547
commit 5e6530cc23
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
fwknop-2.6.9 (01//2016):
fwknop-2.6.8 (12/23/2015):
- [server] Added a major new feature that allows fwknopd to easily
integrate with third-party devices and software. This done through the
+2 -2
View File
@@ -5,8 +5,8 @@
cd ..
lcov $LCOV_RC_BC --no-checksum --capture --directory . --output-file $LCOV_INFO
lcov $LCOV_RC_BC --no-checksum -a $LCOV_BASE -a $LCOV_INFO --output-file $LCOV_INFO_FINAL
lcov $LCOV_RC_BC --no-checksum -r $LCOV_INFO /usr/include/\* --output-file $LCOV_INFO_FINAL
lcov $LCOV_RC_BC --no-checksum -a $LCOV_BASE -a $LCOV_INFO --output-file $LCOV_INFO_TMP
lcov $LCOV_RC_BC --no-checksum -r $LCOV_INFO_TMP /usr/include/\* --output-file $LCOV_INFO_FINAL
genhtml $GENHTML_USE_BC --output-directory $LCOV_RESULTS_DIR --branch-coverage $LCOV_INFO_FINAL
cd $TOP_DIR
+1
View File
@@ -1,6 +1,7 @@
TOP_DIR="test"
LCOV_BASE="$TOP_DIR/lcov_coverage.base"
LCOV_INFO="$TOP_DIR/lcov_coverage.info"
LCOV_INFO_TMP="$TOP_DIR/lcov_coverage.info_tmp"
LCOV_INFO_FINAL="$TOP_DIR/lcov_coverage_final.info"
LCOV_RESULTS_DIR="$TOP_DIR/lcov-results"