]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve LCOV scripts
authorspo <sergey.pokhodenko@opencascade.com>
Mon, 31 Aug 2015 13:09:14 +0000 (16:09 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Mon, 31 Aug 2015 13:09:38 +0000 (16:09 +0300)
lcov-reset.sh [new file with mode: 0755]
lcov-run.sh

diff --git a/lcov-reset.sh b/lcov-reset.sh
new file mode 100755 (executable)
index 0000000..63b3964
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+source env_lcov.sh
+
+echo "Reset coverage data..."
+lcov --zerocounters --directory $(cd ../; pwd)
index 17f3900688f9714406f45c93daf1d91e9f336364..01a734b44d8ddeccb9b4c2bf4c2111f4f106788e 100755 (executable)
@@ -3,7 +3,7 @@
 source env_lcov.sh
 
 echo "Collect coverage data..."
-lcov --capture --directory ../ --output-file coverage.info
+lcov --capture --directory $(cd ../; pwd) --output-file coverage.info --no-external
 
 echo "Generate HTML for coverage data..."
 genhtml coverage.info --output-directory lcov_html