From 429d4f06cede4d97144592eff91689fc1c707474 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Wed, 10 Dec 2014 14:04:18 +0000 Subject: 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 --- scripts/check_code_coverage.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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} -- cgit v1.2.3