X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=lcov-reset.sh;h=bb4847ada2477c76ad57caaaa93c61b01650c264;hb=23086d3bcb90d68235dfd4b2f1365d87b6f6c4f0;hp=542419c7e6e9ab9869bf25e7a3948a2ae31bce09;hpb=459678da22b6316c58e0e0e769f04776bdf24997;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} +