Skip to content

Separate test config from core compiler. NFC#27216

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:test_config_split
Jun 30, 2026
Merged

Separate test config from core compiler. NFC#27216
sbc100 merged 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 3 times, most recently from 1788805 to 46e02d3 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 46e02d3 to 5947119 Compare June 30, 2026 16:03
@sbc100 sbc100 merged commit 2c8a220 into emscripten-core:main Jun 30, 2026
18 of 39 checks passed
@sbc100 sbc100 deleted the test_config_split branch June 30, 2026 16:35
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.

2 participants