Repository navigation
Conversation
…ive path CARGO_TARGET_TMPDIR is the host's path when the tests are built for Windows on macOS or Linux (`/Users/...`). The test process runs under Wine, where a path starting with `/` is a folder of the current drive: from a shell in the home folder (Y: in CrossOver) `/Users/me/...` is `Y:\Users\me\...`, the home folder's own `Users`. So the game and data folders landed outside the target directory and were never removed, and the drives XCL mounts from the data path did not resolve: the test title's `storage: save folder + persistent local storage` (pls dir S:\) and `XPersistentLocalStorage: a drive root` checks failed. target_tmpdir() asks Wine for the drive path of a `/`-path (kernel32's wine_get_dos_file_name). On Windows kernel32 has no such export and the path is used as it is. Measured under CrossOver 26.3 on macOS, test_title_runs_and_game_folder_is_untouched on main 68a284a: both checks fail without this and pass with it, and the run's folder is in the target directory and removed afterwards (without it, it was left in ~/Users/<me>/...).
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
…#2414, xcl-dev#2415 Integrates per-draw mirror sync fast path (xcl-dev#2437), PresentX compositor hardening (xcl-dev#2418), XAudio2 GetState buffer context fix (xcl-dev#2410), and Wine test fixes (xcl-dev#2414, xcl-dev#2415). Assisted-by: Antigravity (Gemini 4 Neon)
|
Test report from Linux + Wine (RADV), which the "Not tested" section asks for. Prepared with AI assistance: DeepSeek V4.1 Flash in OpenCode; the commands below were run by it and the output is pasted verbatim. Setup
What the change does here
same line on this PR: So the Wine drive path is resolved as described, and the run's folder now sits under the target directory. Result,
Neither is caused by this PR: the XMA2 one is what #2410 changes, and the window-cloak one is a host gap (Wine's DWM does not cloak) that this PR does not touch. The storage / persistent-local-storage checks the description mentions now pass under Wine, which is the point of the change. The two debug-layer e2e tests are Not tested
AI use
|
…#2414, xcl-dev#2415 Integrates per-draw mirror sync fast path (xcl-dev#2437), PresentX compositor hardening (xcl-dev#2418), XAudio2 GetState buffer context fix (xcl-dev#2410), and Wine test fixes (xcl-dev#2414, xcl-dev#2415). Assisted-by: Antigravity (Gemini 4 Neon)
When the tests are built for Windows on macOS or Linux and run under Wine,
CARGO_TARGET_TMPDIRis the host's path (/Users/...). In the Windows test process a path starting with/is a folder of the current drive: from a shell in the home folder (Y:in CrossOver),/Users/me/...isY:\Users\me\..., the home folder's ownUsers. So the e2e test's game and data folders landed outside the target directory and were never removed, and the drives XCL mounts from the data path did not resolve.test_title_runs_and_game_folder_is_untouchedthen failed the test title'sstorage: save folder + persistent local storage(pls dir S:\) andXPersistentLocalStorage: a drive rootchecks. This asks Wine for the drive path of a/-path (wine_get_dos_file_name). On Windows kernel32 has no such export and the path is used as before. Test-only: it changes nothing incrates/xcl/src. Part of #258.What is in it
crates/xcl/tests/e2e.rs:target_tmpdir()andwine_dos_path(), used bytemp_dir().Tested
x86_64-pc-windows-gnu, debug, onmain68a284awith and without this commit.cargo build --workspace, thene2e --exact test_title_runs_and_game_folder_is_untouched --test-threads=1in the CrossOver bottle:storage: save folder + persistent local storageandXPersistentLocalStorage: a drive rootfail, and the run's folder is left in~/Users/<me>/code/<target>/…/tmp/;mainunder CrossOver either way: the title crashes at its first D3D12.X pipeline check (D3D12.X: a stage the PC cannot run goes to the fallback without the driver #750 fixes that), which runs after the storage checks.Regression run
crates/xcl/srcchanges.Not tested
wine_get_dos_file_name), Wine on Linux.launcher_uses_configured_exe_in_an_ambiguous_folder, the debug-layer ones), which use the sametemp_dir().AI use