Tests: return 77 when test parameters are missing #2486

Closed
KelboLive wants to merge 1 commit from upstream-pr/2494 into main
KelboLive commented 2026-11-25 18:37:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-25T18:37:18Z.


When test required params are absent, the test harness now returns exit code 77 (skip) instead of failing.

Files:

  • (+3/-1)

Run: Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6611193770 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2494). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-25T18:37:18Z. --- When test required params are absent, the test harness now returns exit code 77 (skip) instead of failing. **Files:** - (+3/-1) Run: Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev
R0Y00 commented 2026-11-25 19:04:04 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T18:44:36Z.

Review: CHANGES_REQUESTED


These are required runner arguments supplied by the CMake registration. Returning 77 on an absent compiler, renderer path, or adapter turns a broken registration into a capability skip. Please keep missing arguments a usage failure and reserve 77 for a capability probe that actually ran. If a no-argument Python check is useful, add an explicit host-only mode that runs the metadata/refusal checks without depending on a GPU.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063113486 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2494#pullrequestreview-6063113486). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-25T18:44:36Z. **Review:** CHANGES_REQUESTED --- These are required runner arguments supplied by the CMake registration. Returning 77 on an absent compiler, renderer path, or adapter turns a broken registration into a capability skip. Please keep missing arguments a usage failure and reserve 77 for a capability probe that actually ran. If a no-argument Python check is useful, add an explicit host-only mode that runs the metadata/refusal checks without depending on a GPU.
upstream-sync closed this pull request 2026-11-25 21:01:08 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2486
No description provided.