-
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
test: make .out checks embedder-friendly #35040
Conversation
13b4d93
to
5f5d473
Compare
CI: https://ci.nodejs.org/job/node-test-pull-request/33058/ (:green_heart:) |
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.
It's too bad there's no way to do something like path.basename(process.execPath)
within the out files. (Or is there?) LGTM.
5f5d473
to
3268a9f
Compare
Landed in 3268a9f |
PR-URL: nodejs#35040 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
We could tell the test runner to replace a specific string, e.g. |
PR-URL: #35040 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #35040 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: nodejs#35040 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
Some of the color support tests in
pseudo-tty
and some esm tests inmessage
were hardcoded to check the output messages againstnode
- this causes failures in Electron's smoke tests against Node.js, since they'll output e.g:(Use `electron --trace-warnings ...` to show where the warning was created)
in our case.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes