-
Notifications
You must be signed in to change notification settings - Fork 30.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
refactor away test/inspector #16197
refactor away test/inspector #16197
Conversation
@nodejs/v8-inspector |
@maclover7 A third bullet point might be "evaluate if any of these tests can/should be moved to parallel". |
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 with a request.
const path = require('path'); | ||
|
||
const script = path.join(path.dirname(module.filename), 'global-function.js'); | ||
const script = `${common.fixturesDir}/inspector-global-function.js`; |
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.
You could use common.fixtures.path('inspector-global-function.js')
here.
@@ -401,9 +401,6 @@ test-pummel: all | |||
test-internet: all | |||
$(PYTHON) tools/test.py internet | |||
|
|||
test-inspector: all | |||
$(PYTHON) tools/test.py inspector |
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.
Can you also remove it from vcbuild.bat? (Two mentions.)
d7577ef
to
021cabc
Compare
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.
Need the FLAKY flags moved as well
[true] # This section applies to all platforms | ||
|
||
[$system==aix] | ||
test-stop-profile-after-done: PASS, FLAKY |
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.
Shouldn't these be moved to test/parallel/parallel.status
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.
Good catch -- thank you!
021cabc
to
ed4c107
Compare
Several related failures in CI, including linting issues. |
ed4c107
to
efa5d10
Compare
@jasnell fixed linter issue and moved one of the tests to sequential, would you be willing to run CI again? |
* remove inspector directory artifacts PR-URL: nodejs#16197 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 978629c 10x! 🎉 |
* remove inspector directory artifacts PR-URL: #16197 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* remove inspector directory artifacts PR-URL: nodejs/node#16197 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Cross-ref: #16281 |
Refs: #13622, cc @Trott @refack
Tried to handle as much as I could in this PR, but there here are some things I'd like to handle in separate PRs:
inspector-helper.js
to a proper "common" module (write basic docs, etc.)test/inspector
are gonetest/parallel
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test