e2e: host preflight warnings no longer fail the console-title check #177
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/180"
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?
Imported from ivall/xcl. Originally posted by TheHoracio on 2026-11-23T19:13:25Z.
test_title_runs_and_game_folder_is_untouchedasserted!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 tofailures: 0and 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 requiresconsole: 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 e2egives 2 passed (before:test_title_runs_and_game_folder_is_untouchedfailed at e2e.rs:123).🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T20:52:45Z.
Merged (main
2abc562). Checked on an RX 9070 (RDNA4) with the 11 PRs merged together on main38b05b7:cargo build --workspace && cargo test --workspace -- --test-threads=4- 547 unit tests passed, 0 failed (19 ignored); the integration and e2e tests passed too.