Exercise the synthetic Xbox fixtures through XCL #157

Closed
github-bot wants to merge 1 commit from gh-pr/157/head into gh-pr/157/base
Owner

@⁠ebarr24 on GitHub · 2026-11-23 17:33 UTC · original
ebarr24:fix/windows-synthetic-tests → main · +3 −1 · 3 files · 1 commits · closed without merging

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.

**@⁠ebarr24** on GitHub · 2026-11-23 17:33 UTC · [original](https://github.com/xcl-dev/xcl/pull/157) `ebarr24:fix/windows-synthetic-tests` → `main` · +3 −1 · 3 files · 1 commits · closed without merging # 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](https://github.com/ivall/xcl/issues/154) · [#149](https://github.com/ivall/xcl/pull/149) · [#143](https://github.com/ivall/xcl/pull/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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:00 +00:00
github-bot closed this pull request 2026-11-26 04:13:00 +00:00
Author
Owner

@⁠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.

**@⁠ivall** on GitHub · 2026-11-24 11:17 UTC · [original](https://github.com/xcl-dev/xcl/pull/157#issuecomment-7129899653) 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.
Author
Owner

@⁠mstr-vinegar on GitHub · 2026-11-23 18:28 UTC · original · reviewed

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.

**@⁠mstr-vinegar** on GitHub · 2026-11-23 18:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/157#pullrequestreview-6027223065) · **reviewed** 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.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.