summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2014-12-10 14:04:18 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2014-12-10 14:04:18 +0000
commit429d4f06cede4d97144592eff91689fc1c707474 (patch)
tree10cbfc316b7445b887672b8b70a39b763d65fe9a /scripts
parente8cca67a337b9d4bdbd1a8558ad99862862145f3 (diff)
Add persistent unit test - warning fix - cpplint fix
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cpplint_test@346 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 9ef774de762c68a449b2a9791085f58c39a0705e
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_code_coverage.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/check_code_coverage.sh b/scripts/check_code_coverage.sh
index b518f21a..c5f99048 100755
--- a/scripts/check_code_coverage.sh
+++ b/scripts/check_code_coverage.sh
@@ -12,8 +12,9 @@ rm -f $COVERAGE_FILE $LOG_FILE
lcov --capture --directory $UT_DIR_TO_CHECK --no-external --output-file $COVERAGE_FILE 2>&1 | tee -a $LOG_FILE
lcov --summary $COVERAGE_FILE 2>&1 | tee -a $LOG_FILE
+genhtml $COVERAGE_FILE --output-directory $UT_DIR_TO_CHECK/lcov
# CLEAN AFTER USE
-#lcov --directory $UT_DIR_TO_CHECK --zerocounters 2>&1 | tee -a $LOG_FILE
+lcov --directory $UT_DIR_TO_CHECK --zerocounters 2>&1 | tee -a $LOG_FILE
LINE_PERCENTAGE=`grep "lines......:" $LOG_FILE`
PERC_PER_LINE=${LINE_PERCENTAGE:14:3}