X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=lcov-reset.sh;h=bb4847ada2477c76ad57caaaa93c61b01650c264;hb=46c384fb088c97355cb1266cc29bd9429bfa342f;hp=63b3964f7dce69e8107d3f001af3e29ea1148801;hpb=08e28401081a8448c033772d5521bf085a877284;p=modules%2Fshaper.git diff --git a/lcov-reset.sh b/lcov-reset.sh index 63b3964f7..bb4847ada 100755 --- a/lcov-reset.sh +++ b/lcov-reset.sh @@ -1,6 +1,10 @@ #!/bin/bash -source env_lcov.sh +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} +