Skip to content

Fix test_env and test_environ to expect any locale. - #24632

Merged
juj merged 1 commit into
emscripten-core:mainfrom
juj:fix_test_env
Jun 30, 2025
Merged

Fix test_env and test_environ to expect any locale.#24632
juj merged 1 commit into
emscripten-core:mainfrom
juj:fix_test_env

Conversation

@juj

@juj juj commented Jun 28, 2025

Copy link
Copy Markdown
Collaborator

Fixes test to pass on different locales on Windows.

@juj
juj enabled auto-merge (squash) June 28, 2025 07:09
@juj
juj merged commit 2260c40 into emscripten-core:main Jun 30, 2025
30 checks passed
PATH=/
PWD=/
HOME=/home/web_user
LANG=(C|en_US).UTF-8

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The main point of these tests is to verify that setting en_US in outer environment is respected by emscripten.

If the @with_env_modify({'LANG': 'en_US.UTF-8'}) line in the test code doesn't work on windows we should probably look into why its not works and/or disable the test under windows (with a bug open to investigate why it doesn't work).

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