Skip to content

Commit

Permalink
Fix gcov error on network_tests
Browse files Browse the repository at this point in the history
Details
Avoid gcovr to throw an error for suspicious_hits warning

Reviewed-by: fabiofcmonteiro <[email protected]>
Reviewed-by: diogopedrosa <[email protected]>
Reviewed-by: Melquíades Maciel
  • Loading branch information
anarodrigues authored and Duarte Fonseca committed Oct 23, 2024
1 parent 4296a4c commit 90bd9e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zuul/network-tests/entrypoint-master
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ gen-core-backtraces /home/logs/cores

if [ "$ENABLE_COVERAGE" != False ]
then
run-both gcovr --gcov-executable "$GCOV" --json /home/logs/coverage/@[email protected] --root /home/source /home/build

run-both gcovr --gcov-executable "$GCOV" --gcov-ignore-parse-errors=suspicious_hits.warn --json /home/logs/coverage/@[email protected] --root /home/source /home/build
run-both lcov --base-directory /home/source --capture --directory /home/build --gcov-tool "$GCOV" --output-file /home/logs/coverage/@[email protected]
gcovr --add-tracefile=/home/logs/coverage/{master,slave}.json --json /home/logs/coverage.json
lcov --add-tracefile=/home/logs/coverage/{master,slave}.info --output-file /home/logs/coverage/merged.info
Expand Down

0 comments on commit 90bd9e3

Please sign in to comment.