Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for creation in GUI and unit-test for the issue #2681
[modules/shaper.git]
/
lcov-reset.sh
diff --git
a/lcov-reset.sh
b/lcov-reset.sh
index 542419c7e6e9ab9869bf25e7a3948a2ae31bce09..bb4847ada2477c76ad57caaaa93c61b01650c264 100755
(executable)
--- a/
lcov-reset.sh
+++ b/
lcov-reset.sh
@@
-3,5
+3,8
@@
source env.sh
source ${TOOLS_DIR}/env_linux.sh
source env.sh
source ${TOOLS_DIR}/env_linux.sh
+export GCOV_DIR=${GCOV_DIR:-${BUILD_DIR}}
+
echo "Reset coverage data..."
echo "Reset coverage data..."
-lcov --zerocounters --directory $(cd ../; pwd)
+lcov --zerocounters --directory ${GCOV_DIR}
+