Files
AnyPS5/core/relinker/cli/tests
harisibrar1andClaude Opus 5.5 e1342e7de2 test(relinker): find the Windows test executables with GetModuleFileNameW
autorun_exit_tests built its own path from argv[0] and
windows_dependency_diagnostics_tests from GetModuleFileNameA. Both are in
the ANSI code page on Windows, but MinGW's std::filesystem::path reads a
narrow string as UTF-8, so in a build directory with characters such as
"ü" both tests stopped with "Cannot convert character sequence: Illegal
byte sequence" before testing anything (windows_diagnostic_fixture_isolation
runs the second one).

Take the path from GetModuleFileNameW on Windows. The relinker and the
generated diagnostic runner already use UTF-8 and wide APIs, so nothing
else changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 08:48:34 -04:00
..