From 1148d169310dc764cb76f577f7bd09e42cf66026 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Fri, 1 Oct 2021 10:21:08 +0200 Subject: [PATCH] [azp] Enable pretty code coverage results xml (#946) --- .azure-pipelines/build-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/build-template.yml b/.azure-pipelines/build-template.yml index 159e81859..da4073701 100644 --- a/.azure-pipelines/build-template.yml +++ b/.azure-pipelines/build-template.yml @@ -129,7 +129,7 @@ jobs: make check gcovr --version find SAI/meta -name "*.gc*" | xargs rm -vf - gcovr -r ./ -e ".*/SAI/.*" -e ".+/json.hpp" -e "swss/.+" -e ".*/.libs/.*" -e ".*/debian/.*" --exclude-unreachable-branches --exclude-throw-branches -x -o coverage.xml + gcovr -r ./ -e ".*/SAI/.*" -e ".+/json.hpp" -e "swss/.+" -e ".*/.libs/.*" -e ".*/debian/.*" --exclude-unreachable-branches --exclude-throw-branches -x --xml-pretty -o coverage.xml displayName: "Run sonic sairedis unit tests" - publish: $(System.DefaultWorkingDirectory)/ artifact: ${{ parameters.artifact_name }}