From: spo Date: Mon, 31 Aug 2015 13:09:14 +0000 (+0300) Subject: Improve LCOV scripts X-Git-Tag: V_1.4.0_beta4~183 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08e28401081a8448c033772d5521bf085a877284;p=modules%2Fshaper.git Improve LCOV scripts --- diff --git a/lcov-reset.sh b/lcov-reset.sh new file mode 100755 index 000000000..63b3964f7 --- /dev/null +++ b/lcov-reset.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +source env_lcov.sh + +echo "Reset coverage data..." +lcov --zerocounters --directory $(cd ../; pwd) diff --git a/lcov-run.sh b/lcov-run.sh index 17f390068..01a734b44 100755 --- a/lcov-run.sh +++ b/lcov-run.sh @@ -3,7 +3,7 @@ source env_lcov.sh echo "Collect coverage data..." -lcov --capture --directory ../ --output-file coverage.info +lcov --capture --directory $(cd ../; pwd) --output-file coverage.info --no-external echo "Generate HTML for coverage data..." genhtml coverage.info --output-directory lcov_html