-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
src: disable debug options when inspector is unavailable #22657
src: disable debug options when inspector is unavailable #22657
Conversation
This fixes `parallel/test-cli-node-print-help` when Node.js is compiled without the inspector.
@nodejs/build I don’t understand why e.g. https://ci.nodejs.org/job/node-test-commit-linux-containered/6764/nodes=ubuntu1604_sharedlibs_withoutintl_x64/console is not marked as a failure? |
CI: https://ci.nodejs.org/job/node-test-pull-request/16961/ (:heavy_check_mark:) |
@@ -1,5 +1,6 @@ | |||
'use strict'; | |||
require('../common'); | |||
const common = require('../common'); | |||
common.skipIfInspectorDisabled(); |
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.
Nit: Instead of skipping the test, can we use it to guard just the arguments that require inspector? We should still be able to run this on --eval
, no?
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.
I think so, yes. Done! :)
Please 👍 for fast tracking this regression fix. |
CI with fixed configuration: https://ci.nodejs.org/job/node-test-commit-linux-containered/6807/ |
Landed in c100d40 – thanks for the reviews! |
This fixes `parallel/test-cli-node-print-help` when Node.js is compiled without the inspector. PR-URL: #22657 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]>
This fixes `parallel/test-cli-node-print-help` when Node.js is compiled without the inspector. PR-URL: #22657 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]>
This fixes `parallel/test-cli-node-print-help` when Node.js is compiled without the inspector. PR-URL: #22657 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]>
This fixes
parallel/test-cli-node-print-help
when Node.js is compiled without the inspector.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes