-
Notifications
You must be signed in to change notification settings - Fork 30k
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
test: do not swallow OpenSSL support error #2042
Conversation
So I guess this means we aren't or haven't been regularly testing building without openssl? |
The CI came back all green, so yes, that would appear to be the case. I don't know if that whole "check for OpenSSL" part was from before crypto was firmly established in core, or if an issue should be opened to test alternate builds, or something else. But it seems like removing the error-swallowing makes sense, at least for the CI. If anything in |
It isn't about the CI having OpenSSL all enabled or not (it may - I don't know), but the test is skipped regardless because of an above check. Looks like I missed this one in 999fbe9. |
@mscdex I ran a few builds some month ago without openssl support and had the test suite pass. I test every now and then as part of the gentoo iojs packaging as well. |
@brendanashworth Ah, I see. So, this change purges some dead code, hooray and all that, but the other comments I made are not well-founded. Is that about right? |
@Trott seems right :-), LGTM. |
LGTM; should've removed this while adding the new crypto check. |
PR-URL: nodejs#2042 Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Merged in 4d5089e |
PR-URL: nodejs#2042 Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
All of the CI tests have OpenSSL enabled so the
catch()
block (gracefully swallowing the error if is not enabled) is unexercised.CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/74/