summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/init.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index beb68c2f7..eaea206b4 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -236,10 +236,12 @@ function run_make_check {
}
function run_gcov {
- gcovr -r . --gcov-executable=$1 --html --html-details -o logs/$2.html
+ gcovr -r . --gcov-executable=$1 --html --html-details -o public/coverage/$2.html
check_error $?
gcovr -r . --gcov-executable=$1 -o logs/$2.txt
check_error $?
+ gcovr -r . --gcov-executable=$1 --xml-pretty --exclude-unreachable-branches --print-summary -o public/coverage/$2.xml
+ check_error $?
cat logs/$2.txt
check_error $?
}