-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Fix build for unit test #3494
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
Fix build for unit test #3494
Conversation
These should not be successful, as we did not run the tests. They should be skipped. |
How to skip it? |
With |
Hmm |
Hmm. I'm not sure I understand why you can't build those tests without those SSL? If that's not the case, then that's the first thing that we need to fix. Once that's done, I would expect to see something like:
|
As I mentioned above: I have none of GIT_OPENSSL, GIT_WINHTTP or GIT_SECURE_TRANSPORT defined. Those 3 test functions are guarded by them. So I can't compile. |
But there's nothing about those functions that you can't compile, right? In that case, you should put a |
right. Seems like I don't get how |
Like what I posted above. I think you want to do something like:
|
I see. Instead of forking the test functions just adding some flags. I'll update my patch to follow this style. |
If none of GIT_OPENSSL, GIT_WINHTTP or GIT_SECURE_TRANSPORT is defined we should also be able to build the unit test.
01133d2
to
505e453
Compare
OK, patch updated. |
Awesome! 👯 Thanks for this. |
Thank you for the review! |
If none of GIT_OPENSSL, GIT_WINHTTP or GIT_SECURE_TRANSPORT
is defined we should also be able to build the unit test.