Repository navigation
Conversation
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
left a comment
There was a problem hiding this comment.
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.
|
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. |
Exercise 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.