-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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: make tests pass when configured --without-ssl #11631
Closed
Closed
Commits on Mar 3, 2017
-
test: add checkCrypto to tls-connect.js
Currently when node is build --without-ssl and the test are run, the test that use the tls-connect fixture will throw an Error saying that Node was not built with ssl support. The error is thrown when the tls module is required causing the test that use it to fail unstead of being skipped when there is no ssl support to test. This commit calls checkCrypto before requiring the tls module so that an error is not thrown and the test skipped instead.
Configuration menu - View commit details
-
Copy full SHA for 5d8519a - Browse repository at this point
Copy the full SHA 5d8519aView commit details -
test: make test-parallel pass witout-ssl
This commit enables the test-parallel target to pass when the build is configured --without-ssl To configure and run: $ ./configure --without-ssl --debug && make -j8 test-parallel The update to test/testspy/__init__.py is for test-cluster-inspector-debug-port.js which passes '--inspect={PORT} flag to the node process which causes the process to exit as the inspector is not enabled when ssl is disabled. The suggested solution here is to simply remove the flag when v8_enable_inspector is 0 and then have a check in the test like the others test in this commit.
Configuration menu - View commit details
-
Copy full SHA for f6a0027 - Browse repository at this point
Copy the full SHA f6a0027View commit details -
test: make addons/openssl-binding pass without-ssl
Add checks to the compilation of this addon and also a check when the test is run to see if ssl is enabled or not. If it is not enabled then skip this test.
Configuration menu - View commit details
-
Copy full SHA for c9c6c2b - Browse repository at this point
Copy the full SHA c9c6c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7b0c2e - Browse repository at this point
Copy the full SHA a7b0c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4084f4b - Browse repository at this point
Copy the full SHA 4084f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d7cb0 - Browse repository at this point
Copy the full SHA f6d7cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b440006 - Browse repository at this point
Copy the full SHA b440006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3addfd0 - Browse repository at this point
Copy the full SHA 3addfd0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.