Repository navigation
Tests: keep the launcher tests' data out of the user's XCL folder - #2331
Closed
Convicts42 wants to merge 1 commit into
Closed
Convicts42 wants to merge 1 commit into
Convicts42 wants to merge 1 commit into
Conversation
Three launcher tests run `xcl run <folder>` without XCL_DATA_ROOT. The launcher writes the title's xcl.toml before it looks for an executable, so every run of the suite left three folders (xcl-no-exe-*, xcl-multi-exe-*, xcl-self-copy-*) in the user's %LOCALAPPDATA%\XCL. They now run through one helper that gives XCL a data root next to the test's game folder, removed with it, and asserts that the title's xcl.toml is there: without the data root the three tests fail. The other three exit before anything is written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Convicts42
marked this pull request as ready for review
November 25, 2026 14:58
|
Independent Windows check of Tested
Not tested The unset- AI use OpenAI Codex (GPT-6.2 Sol) ran the checks and wrote this report. |
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three of the launcher integration tests (#1963) run
xcl run <folder>withoutXCL_DATA_ROOT. The launcher writes the title'sxcl.tomlbefore it looks for an executable, so every run of the suite leaves three folders (xcl-no-exe-*,xcl-multi-exe-*,xcl-self-copy-*) in the user's%LOCALAPPDATA%\XCL, next to their real titles. 20 runs had left 60 on this machine.What is in it
crates/xcl/tests/launcher_e2e.rs: the three tests runxclthrough one helper that setsXCL_DATA_ROOTto a folder next to the test's game folder, removed with it. The helper asserts that the title'sxcl.tomlis there, so a test that loses its data root fails. The other three tests exit before anything is written and are unchanged.Tested
main06c9f55cargo test -p xcl --test launcher_e2e -- --test-threads=4, withLOCALAPPDATApointed at an empty folder: before, 6 passed and 3 folders left inXCL; with this PR, 6 passed in 5 of 5 runs and nothing left. With the.env("XCL_DATA_ROOT", …)line removed from the helper: 3 passed, 3 failedcargo test --workspace --no-fail-fast -- --test-threads=4: 1261 passed, 4 failed, 46 ignored, the same asmain06c9f55here. The 4 arefuzz_validate_and_gpu_0to_3(DXIL GPU fuzz tests reproducibly fail with E_OUTOFMEMORY on RTX 5060 #1905, fixed by Recompiler: LDS ds_sub_u32 hides its negation from the driver (RTX 50 refuses it) #1919)V_MUL_F16,V_PK_MUL_F16,V_CVT_F16_F32), 1 no heap windows, 1 driver cache without Windows Developer ModeRegression run
crates/xcl/srcNot tested
launcher_e2e.rsof its own and already conflicts withmain; it setsXCL_DATA_ROOTitselfAI use
🤖 Generated with Claude Code