check.py: an unsupported texture-constant or partial-wave test is a skip, not a failure (TEST-CHECK-UNSUPPORTED-SKIP) #1126
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1126"
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 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.pyturns 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 noUNSUPPORTEDcase, sovk_texture_test's 77 came out asexit 77: unsupported: ..., a failure.partial_wave_test(cs_w64x_partial,cs_w64x_partial_scmp) returnedfailure()for any non-zero exit code before askingcompute_unsupported().table_fetch_testdid return aSkip, but with the program's whole output instead of the usual one-lineSKIP (unsupported: ...).On a device without
shaderInt64(Intel Iris Xe, Windows driver 31.0.101.4255)check.pyprinted six failures and exited 1, whererun_gpu_tests.pyskips the same six tests. All three now reportSKIP (unsupported: <reason>). Inpartial_wave_testa 77 that names no reason stays a failure, ascompute_unsupporteddocuments.Tested
tests/test_check_unsupported_skips.py, 9 tests fed the two programs' output from that driver: 9 fail onmain, 9 pass with the change.python -Iontests/test_partial_wave_subgroup.py,tests/test_shader_checks.py,tests/test_run_gpu_tests.pyandtests/test_text_write_line_endings.py: OK.python -m compileallandscripts/check_no_game_data.pyon the two changed files: clean.shaderInt64: the driver that showed it has been updated since. With Intel 32.0.101.7092, which reportsshaderInt64,check.pyexits 0 (170 of 222 pass, 52 skipped, on3aa975421).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
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (no translator rule)🤖 Generated with Claude Code
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) intoSKIP (unsupported: ...)acrosstexture_constant_test,partial_wave_test, andtable_fetch_testinruntime/test/shaders/check.py, preventing false test suite failures on GPUs lacking optional features likeshaderInt64. Verified viatests/test_check_unsupported_skips.py(9/9 PASS). 100% clean-room.Imported from ubiquitarianism/leonida. Originally posted by Deedlyy on 2026-11-24T20:15:19Z.
Recommendation: [MERGE]
Reasoning:
check.pytreats exit 77 (unsupported) as a skip intexture_constant_test,partial_wave_testandtable_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 withmain. Merge once the queued checks are green.Impact level: 3/10
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:46:50Z.
Verified by OreoFR
5cb45921e+ PR head2dbceb516; green run in a merge package of 2 PRs, no new ctest failure vs mainpython -I tests/test_check_unsupported_skips.py ; package ctestAI-assisted (Claude Code, Claude Opus 5.5).
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
mainf84e071dcwithout conflict, and its test file(s) (tests/test_check_unsupported_skips.py) pass there. Earlier today the same tests failed onmainwithout the PR (red/green) and a bundle with other open PRs showed no new failures.check_no_game_data.pyis clean. Windows 11, Python 3.14; no GPU needed for these tests.AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.