Tests: accept Wine's missing-path error in pls_quota #2415
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2415
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2415"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ldeep98154deep-jpg on GitHub · 2026-11-25 18:10 UTC · original
ldeep98154deep-jpg:tests/pls-quota-wine-error→main· +24 −2 · 1 files · 1 commits · openFixes #810
disk_free_space_ex_reports_pls_quotaassertedERROR_PATH_NOT_FOUNDunconditionally. On Wine, the forwarded host
GetDiskFreeSpaceExWreturnsERROR_FILE_NOT_FOUND, so the test failed before it reached the quota checks.PR #2197 adds other
pls_quotacoverage but leaves this assertion unchanged.What is in it
ERROR_FILE_NOT_FOUNDforS:\missingonly whenunder_wine(); Windows still requiresERROR_PATH_NOT_FOUND.GetLastError()before callingunder_wine(), so itsGetProcAddresscannot overwrite the error.Tested
Local Windows x64, Intel Iris Xe Graphics (16-lane waves),
stable-x86_64-pc-windows-gnuwith llvm-mingw; DXC 1.9.2607.0 / DXIL 1.8.2502.11.cargo +stable-x86_64-pc-windows-gnu test -p xcl --test pls_quota -- --nocapture— 2 passed, 0 failed.
cargo +stable-x86_64-pc-windows-gnu test --workspace -- --test-threads=4 --skip pe::tests::parses_own_test_binary_tls --skip test_title_runs_and_game_folder_is_untouched— 703 passed, 0 failed, 41 ignored, 2 filtered out; 87
SKIPPED ...: no wave64.Not tested
AI use
Claude: screened open issues and PRs, confirmed #810 had no fix in #2197/#1817/#1411/#1462, wrote the test-only change, and ran the commands above.
@DavidM1911 on GitHub · 2026-11-25 19:36 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1 real failure, deterministic (also fails--test-threads=1, 1219/1):The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge.
— Devin
@pablogonz12 on GitHub · 2026-11-25 19:47 UTC · original
Test report from Linux + Wine (RADV). Prepared with AI assistance: DeepSeek V4.1 Flash in OpenCode; the commands below were run by it and the output is pasted verbatim.
Setup
RADV GFX1201), AMD Radeon RX 9070 XT 16 GB, Ryzen 9 9900X.~/.local/share/Steam/compatibilitytools.d/GE-Proton11-14-x86_64/files/bin/wine), scratch prefix,WINEDLLOVERRIDES="d3d12,d3d12core,dxgi,d3d11,d3d10core=n,b",VKD3D_CONFIG=ignore_shared_fence,WINEDEBUG=-all, DXC 1.9.2609.5.RUSTFLAGS="-C target-feature=+crt-static" cargo xwin test --workspace --release --target x86_64-pc-windows-msvc --no-run, thenwine <pls_quota exe> --test-threads=1.main2898511with this PR merged on top (it merges cleanly, so only this PR differs), head =5e26d80.Result,
pls_quotaintegration test28985115e26d80pls_quotaBase, verbatim:
2isERROR_FILE_NOT_FOUND, which is what Wine'sGetDiskFreeSpaceExWanswers here (GetDiskFreeSpaceExW(s:/<missing>):0 MiB available of 1 MiB); the PR accepts it only underunder_wine()and keepsERROR_PATH_NOT_FOUNDstrict elsewhere. So this is the Wine half of #810, confirmed fixed here, and the newmissing_pls_path_error_accepts_wines_code_only_under_winepasses on Wine as well.Not tested
ERROR_FILE_NOT_FOUNDbranch is not taken there).AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.