[test suite] exclude test/fko-wrapper/* from code coverage stats (we want coverage for the client/server/lib code)

This commit is contained in:
Michael Rash 2016-04-15 17:37:16 -07:00
parent 0637b6fbee
commit 84d4128812
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,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_TMP
lcov $LCOV_RC_BC --no-checksum -r $LCOV_INFO_TMP /usr/include/\* --output-file $LCOV_INFO_FINAL
lcov $LCOV_RC_BC --no-checksum -r $LCOV_INFO_TMP /usr/include/\* --output-file $LCOV_INFO_TMP2
lcov $LCOV_RC_BC --no-checksum -r $LCOV_INFO_TMP2 test/fko-wrapper/\* --output-file $LCOV_INFO_FINAL
genhtml $GENHTML_USE_BC --output-directory $LCOV_RESULTS_DIR --branch-coverage $LCOV_INFO_FINAL
cd $TOP_DIR

View File

@ -2,6 +2,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_TMP2="$TOP_DIR/lcov_coverage.info_tmp2"
LCOV_INFO_FINAL="$TOP_DIR/lcov_coverage_final.info"
LCOV_RESULTS_DIR="$TOP_DIR/lcov-results"