diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-11 17:01:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-11 17:01:10 +0300 |
commit | a8093d62e3e1380732489660228782c409b0017a (patch) | |
tree | 19959ba237e1fae7204b841252c2964d2e3ce21a /tools/ci/scripts/init.sh | |
parent | 1bfb651bedf42f00c4c99a52fa4a7168fea1edae (diff) | |
download | plus-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/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 7 |
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" != "" ]; |