e2e: host preflight warnings no longer fail the console-title check #180

Manually merged
github merged 1 commit from gh-pr/180/head into gh-pr/180/base 2026-11-26 04:13:57 +00:00
Owner

@⁠TheHoracio on GitHub · 2026-11-23 19:13 UTC · original
TheHoracio:fix/e2e-host-preflight-warnings → main · +5 −1 · 1 files · 1 commits · merged 2026-11-23 20:51 UTC

test_title_runs_and_game_folder_is_untouched asserted !stdout.contains("WARNING") to check that the launcher recognizes the test title as a console title. Preflight also prints host warnings there, so on a machine without Gaming Services (WARNING: no System32\xgameruntime.dll) the test failed even though the test title ran to failures: 0 and exited 0. The Quadro RTX 8000 report in #42 hit the same false failure.

Change: the assert now rejects only the launcher's own "not a console title" warnings (imports no console library, not a valid x64 PE file), and it still requires console: imports kernelx.dll. Host warnings (no xgameruntime.dll, no mesh shaders, WARP) no longer fail the test. A missing CPU feature still stops the run before the title starts, so the later asserts catch it.

Tested: RX 7800 XT (RDNA3), Windows 11 Pro 10.0.26300, no Gaming Services. cargo test -p xcl --test e2e gives 2 passed (before: test_title_runs_and_game_folder_is_untouched failed at e2e.rs:123).

🤖 Generated with Claude Code

**@⁠TheHoracio** on GitHub · 2026-11-23 19:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/180) `TheHoracio:fix/e2e-host-preflight-warnings` → `main` · +5 −1 · 1 files · 1 commits · merged 2026-11-23 20:51 UTC `test_title_runs_and_game_folder_is_untouched` asserted `!stdout.contains("WARNING")` to check that the launcher recognizes the test title as a console title. Preflight also prints host warnings there, so on a machine without Gaming Services (`WARNING: no System32\xgameruntime.dll`) the test failed even though the test title ran to `failures: 0` and exited 0. The Quadro RTX 8000 report in #42 hit the same false failure. **Change:** the assert now rejects only the launcher's own "not a console title" warnings (`imports no console library`, `not a valid x64 PE file`), and it still requires `console: imports kernelx.dll`. Host warnings (no xgameruntime.dll, no mesh shaders, WARP) no longer fail the test. A missing CPU feature still stops the run before the title starts, so the later asserts catch it. **Tested:** RX 7800 XT (RDNA3), Windows 11 Pro 10.0.26300, no Gaming Services. `cargo test -p xcl --test e2e` gives 2 passed (before: `test_title_runs_and_game_folder_is_untouched` failed at e2e.rs:123). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test_title_runs_and_game_folder_is_untouched rejected any WARNING in
stdout, so a machine without Gaming Services (preflight: "no
System32\xgameruntime.dll") failed it although the test title ran to
"failures: 0". The assert now checks only the launcher's own verdict
on the file ("imports no console library" / "not a valid x64 PE file").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:55 +00:00
github manually merged commit f7c7a484b0 into gh-pr/180/base 2026-11-26 04:13:57 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-23 20:52 UTC · original

Merged (main 2abc562). Checked on an RX 9070 (RDNA4) with the 11 PRs merged together on main 38b05b7: cargo build --workspace && cargo test --workspace -- --test-threads=4 - 547 unit tests passed, 0 failed (19 ignored); the integration and e2e tests passed too.

**@⁠ivall** on GitHub · 2026-11-23 20:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/180#issuecomment-7113684952) Merged (main 2abc562). Checked on an RX 9070 (RDNA4) with the 11 PRs merged together on main 38b05b7: `cargo build --workspace && cargo test --workspace -- --test-threads=4` - 547 unit tests passed, 0 failed (19 ignored); the integration and e2e tests passed too.
This discussion has been locked. Commenting is limited to contributors.
No description provided.