Skip to content

tests: fuzz rx and tx hooks in rivian.h#2962

Closed
mpurnell1 wants to merge 2 commits intocommaai:masterfrom
mpurnell1:fuzz-hooks-rivian
Closed

tests: fuzz rx and tx hooks in rivian.h#2962
mpurnell1 wants to merge 2 commits intocommaai:masterfrom
mpurnell1:fuzz-hooks-rivian

Conversation

@mpurnell1
Copy link
Contributor

Description

This makes incremental progress towards #2944. In this PR, I utilize the helper functions added in #2952 to thoroughly test rx and tx hooks in rivian.h.

Adds coverage for the following lines (NOTE: these line numbers are what were reported by gcovr. They sometimes point to the last covered line before an uncovered branch):

Verification

opendbc/safety/tests/test.sh --report (with branch coverage enabled) on master:
image
Overall branch coverage: 92.3%

opendbc/safety/tests/test.sh --report on this branch:
image
Overall branch coverage: 92.6%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

car safety vehicle-specific safety code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant