Repository navigation
Tests: add launcher integration tests for target selection and error handling - #1963
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Audit & CI note on
Remaining before merge: |
PR #1963 compatibility verificationVerified commit Tested
Failures and skips
Not tested Main baseline, retail titles or sample-data paths, DXC/DXIL 1.9.2609.5, and other GPU vendors. AI use T3 Code / Codex ( |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
) Incorporates: - xcl-dev#2245 (commit 0d13b07 by @b3IKK): update DXIL container synthetic test marker offset and format-stripping expectations to match current codebase. - xcl-dev#1963 (commit 513a18e by @heditrigui): launcher end-to-end integration tests for target selection and error handling. Assisted-by: Antigravity (Gemini 4)
Summary
Adds integration tests for
xcl runlauncher target resolution and CLI error handling incrates/xcl/tests/launcher_e2e.rs:xcl runwithout a target argument exits with code 2 and prints usage.xcl runwith a nonexistent directory or file path exits with code 2 and outputs a descriptive error.xcl.exeitself as the target (xcl run <xcl.exe>) is rejected with code 2 (is XCL itself, not a game).no game .exe file in ...)..exefiles and no configuration exits with code 2 (several .exe files (...) – point to the game exe directly).xcl.exewarns specifically that it is XCL itself and exits with code 2.Tested
crates/xcl/tests/launcher_e2e.rs.python -m pytest scripts/passing 16/16).scripts/pr_check.py --local.Not tested
crates/xcl/tests/files are integration tests and non-runtime code).AI use