X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=lcov-reset.sh;h=bb4847ada2477c76ad57caaaa93c61b01650c264;hb=201d7fcc43757524169d48e44bbfe1f4e459e2ae;hp=542419c7e6e9ab9869bf25e7a3948a2ae31bce09;hpb=cbde248859fb0072f6012907391ea90cfc254574;p=modules%2Fshaper.git diff --git a/lcov-reset.sh b/lcov-reset.sh index 542419c7e..bb4847ada 100755 --- a/lcov-reset.sh +++ b/lcov-reset.sh @@ -3,5 +3,8 @@ source env.sh source ${TOOLS_DIR}/env_linux.sh +export GCOV_DIR=${GCOV_DIR:-${BUILD_DIR}} + echo "Reset coverage data..." -lcov --zerocounters --directory $(cd ../; pwd) +lcov --zerocounters --directory ${GCOV_DIR} +