-
Notifications
You must be signed in to change notification settings - Fork 97
Use gtest instead of check for C tests #1527
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
Conversation
martin4861
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, could you remove https://github.com/swift-nav/libsbp/blob/master/MODULE.bazel#L30 too?
Good catch, thanks! |
|



Description
There are a few issues with using the
checklibrary to test the C language bindings:checkdoes not appear to be actively maintainedcheckdoes not compile with recent versions of MinGW64 (see Fix compilation using MinGW-W64 13 and later libcheck/check#364)checkonly used by libsbp; all of the other swift repos have switched over togtestThis PR converts the C language bindings to use
gtest, which means compiling the unit tests as C++ instead of C.The changes in this PR are loosely modelled on https://github.com/swift-nav/libswiftnav-private/commit/1f13a3b0e5125b3396c4d9abaf1fcddd3ffd17e2.
API compatibility
Does this change introduce a API compatibility risk?
No, it only changes test cases.
API compatibility plan
If the above is "Yes", please detail the compatibility (or migration) plan:
N/A
JIRA Reference
https://swift-nav.atlassian.net/browse/BOARD-XXXX