Skip to content

Commit

Permalink
Switch to using stock gcovr 5.2 (sonic-net#1174)
Browse files Browse the repository at this point in the history
* Test using stock gcovr

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

* Use gcovr 5.2

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
  • Loading branch information
saiarcot895 authored and liushilongbuaa committed Mar 13, 2023
1 parent 70fb82e commit d890b42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ jobs:
- ${{ if eq(parameters.run_unit_test, true) }}:
- script: |
set -ex
git clone https://github.com/Spacetown/gcovr.git
git clone https://github.com/gcovr/gcovr.git
cd gcovr/
git checkout origin/recursive_search_file
git checkout 5.2
sudo pip3 install setuptools
sudo python3 setup.py install
cd ..
sudo rm -rf gcovr
displayName: "Install gcovr 5.0 with recursive fix"
displayName: "Install gcovr 5.2 (for --exclude-throw-branches support)"
- script: |
set -ex
make check
Expand Down

0 comments on commit d890b42

Please sign in to comment.