Exercise the synthetic Xbox fixtures through XCL #157
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!157
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/157/head"
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?
@ebarr24 on GitHub · 2026-11-23 17:33 UTC · original
ebarr24:fix/windows-synthetic-tests→main· +3 −1 · 3 files · 1 commits · closed without mergingExercise the synthetic Xbox fixtures through XCL
On Windows GNU,
cargo test --workspacetries to start a libtest executable built from the synthetictestgame_mwDLL. Windows refuses to start it with0xc0000135because the DLL fixture importskernelx.dllfor XCL to provide. The synthetic title’s own standalone Cargo harness has zero tests.Mark both synthetic fixture targets
test = false.cargo build --workspacebuilds the EXE and DLL fortest_title_runs_and_game_folder_is_untouched, which loads them together through XCL. In that integration test, verify console detection through the expectedkernelx.dllimport message. A successful launch can also print the Gaming Services preflight warning on a PC withoutSystem32\xgameruntime.dll.The integration test checks the title’s exit, the fixture’s assertions, the game directory snapshot, the overlay and the run report.
Verification
Run
./scripts/test.ps1withXCL_ADAPTER=3080andXCL_REQUIRE_GPU=mesh. Tested on Windows 11 25H2 (26200.9711), RTX 3080 (driver 616.92), Rust 1.100.0x86_64-pc-windows-gnuand DXC 1.9.2609.5.db5dc26stops at the standalone fixture harness withSTATUS_DLL_NOT_FOUND.0c5a5d4completes the workspace suite. Libtest reports 568 passed, 0 failed and 39 ignored. Two native-wave64 tests return early, and the retail-sample tests return early because theXCL_SAMPLE_*variables are unset.This covers the Windows GNU case raised in #154 and the Gaming Services warning also seen on an RTX 3090 in #149. #143 reports a separate WARP crash on the CI runner. #154 · #149 · #143
AI-assisted patch preparation and verification.
@ivall on GitHub · 2026-11-24 11:17 UTC · original
Closing because main already disables the testgame_mw DLL test harness and accepts the Gaming Services warning in the e2e assertion. The additional test = false for the test title is not included on main. Thank you for the contribution.
@mstr-vinegar on GitHub · 2026-11-23 18:28 UTC · original · reviewed
Reviewed
0c5a5d4and the surrounding fixture, launcher, and end-to-end code. No blocking findings. The workspace build still produces both fixtures, and the end-to-end test exercises them through XCL while checking console detection, title completion, the game-folder snapshot, overlay, and report.On Windows 11 build 26200.9974, RX 9060 XT (driver 32.0.32029.2010), Ryzen 5 5600X, Rust 1.100.0 MSVC, and XGameRuntime 10.0.26100.9656,
scripts/test.ps1withXCL_REQUIRE_GPU=wave64,meshcompleted: 568 passed, 0 failed, 39 ignored, with no reported GPU skips. The synthetic title end-to-end test passed.XCL_SAMPLE_*variables were unset, so retail sample checks did not run. This run used MSVC and an installed Gaming Services runtime, so it does not independently reproduce the Windows GNU failure or test the missing-runtime warning. AI-assisted review and testing.Pull request closed