Skip to content

Separate test config from core compiler. NFC#27216

Open
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:test_config_split
Open

Separate test config from core compiler. NFC#27216
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:test_config_split

Conversation

@sbc100

@sbc100 sbc100 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

This is the first part of my plan to separate test setup from the compiler setup.

Note that we no longer need fix_js_engine because we no longer do identity checks on the JS engine anywhere in the test code. i.e. we no longer depend on being able to do if engine == V8_ENGINE, and instead we have an is_engine_v8 helper function.

See #27219 and #26453 for the long term reason for doing this, but its also just good hygiene to keep the test setup out of the core compiler.

@sbc100 sbc100 requested a review from kripken June 30, 2026 00:12
@sbc100 sbc100 force-pushed the test_config_split branch from cb8965d to 0c91cd2 Compare June 30, 2026 00:59
@sbc100 sbc100 requested a review from dschuff June 30, 2026 00:59
@sbc100 sbc100 force-pushed the test_config_split branch 4 times, most recently from a1d3dde to 2add18f Compare June 30, 2026 05:50
@sbc100 sbc100 changed the title Separate test config config. NFC Separate test config from core compiler. NFC Jun 30, 2026
@sbc100 sbc100 force-pushed the test_config_split branch 2 times, most recently from 1295a7e to 1788805 Compare June 30, 2026 05:59
This is the first part of my plan to separate test setup from
the compiler setup.

Note that we no longer need `fix_js_engine` because we no longer
do identity checks on the JS engine anywhere in the test code.
i.e. we no longer depend on being able to do `if engine == V8_ENGINE`,
and instead we have an `is_engine_v8` helper function.
@sbc100 sbc100 force-pushed the test_config_split branch from 1788805 to 46e02d3 Compare June 30, 2026 05:59
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.

1 participant