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