summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-11 17:01:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-11 17:01:10 +0300
commita8093d62e3e1380732489660228782c409b0017a (patch)
tree19959ba237e1fae7204b841252c2964d2e3ce21a /tools/ci/scripts
parent1bfb651bedf42f00c4c99a52fa4a7168fea1edae (diff)
downloadplus-a8093d62e3e1380732489660228782c409b0017a.tar.gz
plus-a8093d62e3e1380732489660228782c409b0017a.tar.bz2
plus-a8093d62e3e1380732489660228782c409b0017a.tar.xz
plus-a8093d62e3e1380732489660228782c409b0017a.zip
Add support for collecting coverage data in gcc6 tests and store on stats web site.
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/init.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index 944d4d338..c89717306 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -217,6 +217,13 @@ function run_make_check {
echo "valgrind check"
}
+function run_gcov {
+ gcovr -r . --gcov-executable=$1 --html -o logs/$2.html
+ check_error $?
+ gcovr -r . --gcov-executable=$1 -o logs/$2.txt
+ check_error $?
+}
+
function run_check_warnings {
DATA=$(cat $ERRFILE)
if [ "$DATA" != "" ];