check.py: an unsupported texture-constant or partial-wave test is a skip, not a failure (TEST-CHECK-UNSUPPORTED-SKIP) #1126

Merged
MalexAson merged 1 commit from upstream-pr/1126 into main 2026-11-28 21:51:59 +00:00
MalexAson commented 2026-11-24 18:57:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MalexAson on 2026-11-24T18:57:51Z.


Claimed in the coordination issue as: TEST-CHECK-UNSUPPORTED-SKIP

What and why

runtime/test/shaders/check.py turns a test program's exit 77 ("unsupported: ...") into a skip in most checks. Three did not:

  • texture_constant_test (ps_gather_wrap, ps_gather_border, ps_gather4_c_l, ps_array_resinfo) had no UNSUPPORTED case, so vk_texture_test's 77 came out as exit 77: unsupported: ..., a failure.
  • partial_wave_test (cs_w64x_partial, cs_w64x_partial_scmp) returned failure() for any non-zero exit code before asking compute_unsupported().
  • table_fetch_test did return a Skip, but with the program's whole output instead of the usual one-line SKIP (unsupported: ...).

On a device without shaderInt64 (Intel Iris Xe, Windows driver 31.0.101.4255) check.py printed six failures and exited 1, where run_gpu_tests.py skips the same six tests. All three now report SKIP (unsupported: <reason>). In partial_wave_test a 77 that names no reason stays a failure, as compute_unsupported documents.

Tested

  • New tests/test_check_unsupported_skips.py, 9 tests fed the two programs' output from that driver: 9 fail on main, 9 pass with the change.
  • python -I on tests/test_partial_wave_subgroup.py, tests/test_shader_checks.py, tests/test_run_gpu_tests.py and tests/test_text_write_line_endings.py: OK. python -m compileall and scripts/check_no_game_data.py on the two changed files: clean.
  • Not re-run on a GPU without shaderInt64: the driver that showed it has been updated since. With Intel 32.0.101.7092, which reports shaderInt64, check.py exits 0 (170 of 222 pass, 52 skipped, on 3aa975421).

GPUs tested: Intel Iris Xe (8086:a7a0), Windows 11: Intel 31.0.101.4255 (where it was found) and 32.0.101.7092

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (no translator rule)

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5478423080 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1126). Originally posted by [MalexAson](https://github.com/MalexAson) on 2026-11-24T18:57:51Z. --- Claimed in the coordination issue as: TEST-CHECK-UNSUPPORTED-SKIP ### What and why `runtime/test/shaders/check.py` turns a test program's exit 77 ("unsupported: ...") into a skip in most checks. Three did not: - `texture_constant_test` (`ps_gather_wrap`, `ps_gather_border`, `ps_gather4_c_l`, `ps_array_resinfo`) had no `UNSUPPORTED` case, so `vk_texture_test`'s 77 came out as `exit 77: unsupported: ...`, a failure. - `partial_wave_test` (`cs_w64x_partial`, `cs_w64x_partial_scmp`) returned `failure()` for any non-zero exit code before asking `compute_unsupported()`. - `table_fetch_test` did return a `Skip`, but with the program's whole output instead of the usual one-line `SKIP (unsupported: ...)`. On a device without `shaderInt64` (Intel Iris Xe, Windows driver 31.0.101.4255) `check.py` printed six failures and exited 1, where `run_gpu_tests.py` skips the same six tests. All three now report `SKIP (unsupported: <reason>)`. In `partial_wave_test` a 77 that names no reason stays a failure, as `compute_unsupported` documents. ### Tested - New `tests/test_check_unsupported_skips.py`, 9 tests fed the two programs' output from that driver: 9 fail on `main`, 9 pass with the change. - `python -I` on `tests/test_partial_wave_subgroup.py`, `tests/test_shader_checks.py`, `tests/test_run_gpu_tests.py` and `tests/test_text_write_line_endings.py`: OK. `python -m compileall` and `scripts/check_no_game_data.py` on the two changed files: clean. - Not re-run on a GPU without `shaderInt64`: the driver that showed it has been updated since. With Intel 32.0.101.7092, which reports `shaderInt64`, `check.py` exits 0 (170 of 222 pass, 52 skipped, on `3aa975421`). GPUs tested: Intel Iris Xe (8086:a7a0), Windows 11: Intel 31.0.101.4255 (where it was found) and 32.0.101.7092 AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (no translator rule) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
abnalstlll-byte commented 2026-11-24 19:16:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T19:16:25Z.

Review: APPROVED


Reviewed and verified. Correctly translates process exit code 77 (unsupported) into SKIP (unsupported: ...) across texture_constant_test, partial_wave_test, and table_fetch_test in runtime/test/shaders/check.py, preventing false test suite failures on GPUs lacking optional features like shaderInt64. Verified via tests/test_check_unsupported_skips.py (9/9 PASS). 100% clean-room.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6045742140 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1126#pullrequestreview-6045742140). Originally posted by [abnalstlll-byte](https://github.com/abnalstlll-byte) on 2026-11-24T19:16:25Z. **Review:** APPROVED --- Reviewed and verified. Correctly translates process exit code 77 (`unsupported`) into `SKIP (unsupported: ...)` across `texture_constant_test`, `partial_wave_test`, and `table_fetch_test` in `runtime/test/shaders/check.py`, preventing false test suite failures on GPUs lacking optional features like `shaderInt64`. Verified via `tests/test_check_unsupported_skips.py` (9/9 PASS). 100% clean-room.
Deedlyy commented 2026-11-24 20:15:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Deedlyy on 2026-11-24T20:15:19Z.


Recommendation: [MERGE]

Reasoning: check.py treats exit 77 (unsupported) as a skip in texture_constant_test, partial_wave_test and table_fetch_test, matching the other checks, so unsupported hardware stops showing false failures. Small test-harness fix with 100 lines of tests. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with main. Merge once the queued checks are green.

Impact level: 3/10

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143257632 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1126#issuecomment-7143257632). Originally posted by [Deedlyy](https://github.com/Deedlyy) on 2026-11-24T20:15:19Z. --- **Recommendation:** [MERGE] **Reasoning:** `check.py` treats exit 77 (unsupported) as a skip in `texture_constant_test`, `partial_wave_test` and `table_fetch_test`, matching the other checks, so unsupported hardware stops showing false failures. Small test-harness fix with 100 lines of tests. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with `main`. Merge once the queued checks are green. **Impact level:** 3/10
OreoFR commented 2026-11-28 21:46:50 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:46:50Z.


Verified by OreoFR

  • Base: main 5cb45921e + PR head 2dbceb516; green run in a merge package of 2 PRs, no new ctest failure vs main
  • Test: python -I tests/test_check_unsupported_skips.py ; package ctest
  • Red on main: 9 FAIL (an exit 77 "unsupported" reported as a failure, not check.Skip): the missing function itself
  • Green with the PR: 9 OK, package with no new ctest failure
  • Verdict: READY
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246266321 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1126#issuecomment-7246266321). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-28T21:46:50Z. --- **Verified by OreoFR** - Base: main `5cb45921e` + PR head `2dbceb516`; green run in a merge package of 2 PRs, no new ctest failure vs main - Test: `python -I tests/test_check_unsupported_skips.py ; package ctest` - Red on main: 9 FAIL (an exit 77 "unsupported" reported as a failure, not check.Skip): the missing function itself - Green with the PR: 9 OK, package with no new ctest failure - Verdict: READY - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 AI-assisted (Claude Code, Claude Opus 5.5).
MoonEyes commented 2026-11-28 21:52:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T21:52:02Z.


Merged after OreoFR's red/green check (check) (RTX 4070 Laptop, driver 621.40, Windows 11) and a local re-check here. Merged after local re-verification: this PR merged onto main f84e071dc without conflict, and its test file(s) (tests/test_check_unsupported_skips.py) pass there. Earlier today the same tests failed on main without the PR (red/green) and a bundle with other open PRs showed no new failures. check_no_game_data.py is clean. Windows 11, Python 3.14; no GPU needed for these tests.

AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246330593 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1126#issuecomment-7246330593). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-28T21:52:02Z. --- Merged after **OreoFR**'s red/green check ([check](https://github.com/ProjectLeonida/mandy/pull/1126#issuecomment-7246266321)) (RTX 4070 Laptop, driver 621.40, Windows 11) and a local re-check here. Merged after local re-verification: this PR merged onto `main` f84e071dc without conflict, and its test file(s) (`tests/test_check_unsupported_skips.py`) pass there. Earlier today the same tests failed on `main` without the PR (red/green) and a bundle with other open PRs showed no new failures. `check_no_game_data.py` is clean. Windows 11, Python 3.14; no GPU needed for these tests. _AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes._
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
ProjectLeonida/mandy!1126
No description provided.