Skip to content

Exercise the synthetic Xbox fixtures through XCL - #157

Closed
ebarr24 wants to merge 1 commit into
xcl-dev:mainfrom
ebarr24:fix/windows-synthetic-tests
Closed

ebarr24 wants to merge 1 commit into
xcl-dev:mainfrom
ebarr24:fix/windows-synthetic-tests

Conversation

@ebarr24

@ebarr24 ebarr24 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Exercise the synthetic Xbox fixtures through XCL

On Windows GNU, cargo test --workspace tries to start a libtest executable built from the synthetic testgame_mw DLL. Windows refuses to start it with 0xc0000135 because the DLL fixture imports kernelx.dll for XCL to provide. The synthetic title’s own standalone Cargo harness has zero tests.

Mark both synthetic fixture targets test = false. cargo build --workspace builds the EXE and DLL for test_title_runs_and_game_folder_is_untouched, which loads them together through XCL. In that integration test, verify console detection through the expected kernelx.dll import message. A successful launch can also print the Gaming Services preflight warning on a PC without System32\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.ps1 with XCL_ADAPTER=3080 and XCL_REQUIRE_GPU=mesh. Tested on Windows 11 25H2 (26200.9711), RTX 3080 (driver 616.92), Rust 1.100.0 x86_64-pc-windows-gnu and DXC 1.9.2609.5.

  • Base db5dc26 stops at the standalone fixture harness with STATUS_DLL_NOT_FOUND.
  • With just the fixture-target change, the title reports zero failures and exits successfully. The integration test still fails on the Gaming Services warning. With the assertion change, that integration test passes.
  • Candidate 0c5a5d4 completes 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 the XCL_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.

Skip standalone Cargo harnesses for the synthetic console EXE and DLL. Check console detection directly so an unrelated Gaming Services preflight warning does not fail the working synthetic title.

@mstr-vinegar mstr-vinegar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 0c5a5d4 and 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.ps1 with XCL_REQUIRE_GPU=wave64,mesh completed: 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.

@ivall

ivall commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants