Skip to content

Support separate version of Node.js for running tests. NFC - #20573

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:node_js_test
Oct 30, 2023
Merged

Support separate version of Node.js for running tests. NFC#20573
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:node_js_test

Conversation

@sbc100

@sbc100 sbc100 commented Oct 30, 2023

Copy link
Copy Markdown
Collaborator

This is needed for #20551 so that we can continue to run tests under versions of node that are too old to run the compiler.

@sbc100
sbc100 requested review from RReverser and kripken October 30, 2023 18:44

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm % please add some comments to tools/config_template.py where we document the config file options, to mention this new option.

@sbc100
sbc100 force-pushed the node_js_test branch 2 times, most recently from 1881b28 to 2477531 Compare October 30, 2023 21:04
@RReverser

Copy link
Copy Markdown
Collaborator

I might've missed some conversation, I thought in #20551 in the last thread you said we wouldn't test those older Node versions?

@sbc100

sbc100 commented Oct 30, 2023

Copy link
Copy Markdown
Collaborator Author

I might've missed some conversation, I thought in #20551 in the last thread you said we wouldn't test those older Node versions?

I decided it would be cleaner to allow the testing to remain unchanged, at least for now. That way we can't decided if/when to stop testing on older node versions as a separate concern.

I think being able to configure the internal version of node separately to target version under test is a useful feature either way. For example, I often want to switch the version of node on which I run tests.. but don't want that to interact with the compiler itself.

@sbc100
sbc100 force-pushed the node_js_test branch 2 times, most recently from bb9c4ce to db7c53e Compare October 30, 2023 21:45
This is needed for emscripten-core#20551 so that we can continue to run tests
under versions of node that are too old to run the compiler.
@RReverser

Copy link
Copy Markdown
Collaborator

Sounds reasonable.

@sbc100
sbc100 merged commit bcbfdd4 into emscripten-core:main Oct 30, 2023
@sbc100
sbc100 deleted the node_js_test branch October 30, 2023 23:33
RReverser pushed a commit to RReverser/emscripten that referenced this pull request Oct 31, 2023
…n-core#20573)

This is needed for emscripten-core#20551 so that we can continue to run tests
under versions of node that are too old to run the compiler.
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 26, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 26, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 26, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 26, 2025
juj pushed a commit to juj/emscripten that referenced this pull request Aug 27, 2025
sbc100 added a commit that referenced this pull request Aug 27, 2025
inolen pushed a commit to inolen/emscripten that referenced this pull request Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants