Skip to content

Conversation

@mpurnell1
Copy link
Contributor

@mpurnell1 mpurnell1 commented Dec 19, 2025

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 body.h.

Adds coverage for opendbc/safety/modes/body.h:L6

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.5%

This PR also restores tests/libsafety/safety.c coverage to its original state before #2952
full repo coverage on master (assuming #2952 is merged):
image

full repo coverage after:
image

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