]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve lcov scripts Dev_1.5.0
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 19 Nov 2015 08:16:38 +0000 (11:16 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Thu, 19 Nov 2015 08:16:38 +0000 (11:16 +0300)
lcov-reset.sh
lcov-run.sh

index 63b3964f7dce69e8107d3f001af3e29ea1148801..542419c7e6e9ab9869bf25e7a3948a2ae31bce09 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-source env_lcov.sh
+source env.sh
+source ${TOOLS_DIR}/env_linux.sh
 
 echo "Reset coverage data..."
 lcov --zerocounters --directory $(cd ../; pwd)
index 01a734b44d8ddeccb9b4c2bf4c2111f4f106788e..ef450e0a5cb9f8b9e2c9bd08af003a5982b96eae 100755 (executable)
@@ -1,10 +1,11 @@
 #!/bin/bash
 
-source env_lcov.sh
+source env.sh
+source ${TOOLS_DIR}/env_linux.sh
 
 echo "Collect coverage data..."
-lcov --capture --directory $(cd ../; pwd) --output-file coverage.info --no-external
+lcov --capture --directory ${BUILD_DIR} --output-file coverage.info
 
 echo "Generate HTML for coverage data..."
-genhtml coverage.info --output-directory lcov_html
+genhtml coverage.info --output-directory ${1:-lcov_html}