Repository navigation
Tests under Wine: Windows' own answers are checked only on Windows - #213
Conversation
Three unit tests compared XCL with the host's own Win32 behaviour, which Wine does not reproduce; XCL's answers are the Windows ones in all three: - GetProcAddress(module, NULL): Windows sets ERROR_INVALID_PARAMETER, Wine ERROR_PROC_NOT_FOUND. XCL's code is now checked against ERROR_INVALID_PARAMETER; the host's only on Windows. - CreateFileW on a directory with FILE_FLAG_BACKUP_SEMANTICS and TRUNCATE_EXISTING: Wine answers ERROR_FILE_EXISTS. The VFS decision is still checked against the Windows codes. - A case-only MoveFileExW inside the overlay: Wine succeeds but keeps the old name, so the overlay entry is compared without case there. The Wine check from the loader (ntdll's wine_get_version) is now util::under_wine(). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011Qu7u1UaLUhn6MfAcvkdjG
|
Ran this on a Wine stack other than yours: Kron4ek's Wine 11.21 Staging (wow64 build), so Tested
Not tested
AI use: Claude Code, Claude Opus 5.5 |
|
Thanks for running it on a second Wine build. On the |
|
Merged (main d4f17ca). Checked on an RX 9070 (RDNA4) with 11 PRs merged together on main af20b4b: |
Three
--libtests compared XCL with the host's own Win32 behaviour, which Wine does not reproduce. XCL's answers are the Windows ones in all three:GetProcAddress(module, NULL): Windows setsERROR_INVALID_PARAMETER, WineERROR_PROC_NOT_FOUND. XCL's code is now checked againstERROR_INVALID_PARAMETER, the host's only on Windows.CreateFileWon a directory withFILE_FLAG_BACKUP_SEMANTICS+TRUNCATE_EXISTING: Wine answersERROR_FILE_EXISTS. The VFS decision is still checked against the Windows codes.MoveFileExWinside the overlay: Wine succeeds but keeps the old name, so the overlay entry is compared without case there.The Wine check from the loader (#93) is now
util::under_wine().Wine 11.20, cross-built
x86_64-pc-windows-msvc: non-GPU, non-d3d12xtests 229 passed / 3 failed → 232 / 0. Not run on Windows here; the Windows assertions are unchanged except that theGetProcAddressone names the code. Related: #175 (Linux), #200 (another windows-gnu / Wine test fix). Rebased oneaa36b6.🤖 Generated with Claude Code