Repository navigation
tests: choose an ACP letter with a representable uppercase - #8772
Lilith133T wants to merge 1 commit into
Conversation
ACP 936 represents U+00E9 but not its U+00C9 uppercase, so the module-name fixture failed on native Windows as well as the loader. Keep the ANSI case check and require both spellings when selecting the test letter. Claim: ItsNotRexed#8504 (comment) AI-assisted (Codex).
|
Tested
AI-assisted (Claude Code). |
|
Tested 9cf192d on Windows 11, Chinese system code page ACP 936 (the case this fixes), MSVC 14.44.35207, native Windows, no game files:
The four failures on The cause matches what this PR says, and on this code page it is not the letter order but the case fold: 936 can spell
Everything else in the suite that this touches is unchanged: the other 18 children pass in both modes, and AI-assisted. |

run_module_namesfails on native Windows and through the loader on ACP 936: its first candidate, U+00E9, is representable, but the U+00C9 uppercase used by the ANSI case check is not. Require both spellings to round-trip when choosing the fixture letter. The case-insensitive lookup assertion stays in place; ACP 936 now selects U+03B4.Coordination: new BUILD item claimed in #8504. This PR changes only the fixture selection in
runtime/test/check_module_names.pyand has no dependency on the local boot integration stack.Validation on Windows 11 x64, ACP 936, CPython 3.12.10 and MSVC 14.44:
run_module_namesfails in both native and mapped entry checks withacp_case_a=0.ctest --test-dir runtime/build -C RelWithDebInfo --output-on-failure -R '^run_module_names$'passes. The local loader build includes Loader: the mapped game executable owns module TLS index 0 (RT-259, takeover of #4313) #8379, xgameruntime: serve XErrorReport (rebase of #5312) #6582 and runtime: console DirectStorage (DStorageGetFactory) with file-to-memory reads (takeover of #4348) #8461; the native child also passes independently of those changes.python -I scripts/check_no_game_data.py runtime/test/check_module_names.pyandgit diff --checkpass.tools/leonida_tui.pyandtools/wave_diff.py; both files are unchanged from this PR's base.GPU/driver: NVIDIA RTX 5070 Ti, 610.88. This check is CPU-only and uses original synthetic PE fixtures, with no game data.