Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add test coverage for C API? #46

Closed
cyphar opened this issue Jul 30, 2024 · 0 comments · Fixed by #59
Closed

tests: add test coverage for C API? #46

cyphar opened this issue Jul 30, 2024 · 0 comments · Fixed by #59
Labels
api/cffi Related to the C-FFI API. tests Related to the test framework.

Comments

@cyphar
Copy link
Member

cyphar commented Jul 30, 2024

Even if we add tests that use our C API (a-la #6), it seems unlikely we will be able to get coverage information using llvm-cov. I suspect the only option would be to write some dummy wrappers around the C API in rust and then run our existing tests using those wrappers. But I'm not sure if it's worth the effort.

@cyphar cyphar added api/cffi Related to the C-FFI API. tests Related to the test framework. labels Jul 30, 2024
This was referenced Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/cffi Related to the C-FFI API. tests Related to the test framework.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant