Repository navigation
e2e: host preflight warnings no longer fail the console-title check - #180
Merged
Merged
Conversation
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]>
This was referenced Nov 23, 2026
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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