run_gpu_tests: record the cs_tbuffer_store verdict (GPU-RUNNER-TBUFFER-VERDICT) #609
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!609
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/609/head"
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?
@TuroYT on GitHub · 2026-11-24 09:53 UTC · original
TuroYT:fix/gpu-runner-tbuffer-verdict→main· +48 −0 · 2 files · 1 commits · merged 2026-11-25 21:27 UTCClaimed in the coordination issue as: GPU-RUNNER-TBUFFER-VERDICT (#14)
What was wrong: in
scripts/run_gpu_tests.py, thecs_tbuffer_storebranch ofrun_suite(line 1056) calledtbuffer_store_testand never appended the verdict toresults. Every neighbouring branch does. A failing test was missing from the summary, and a run filtered to this test reported "no runnable GPU test cases".What changed: one line after the call, the same
results.append((name, not problem, problem or "128/128 dumped words exact"))the other branches use. The count is 52 region words plus 76 untouched words, which islen(TBUFFER_STORE_WORDS) + 76inruntime/test/shaders/check.py. ASkipverdict still shows as SKIP through the existingisinstance(detail, Skip)check in the summary. Three CPU-only tests intests/test_run_gpu_tests.py(classTbufferStoreVerdict) cover a failure, a pass and a device skip, withtbuffer_store_testpatched.Tested:
python3 -m compileall -q scripts tests: no output, exit 0.python3 -I tests/test_run_gpu_tests.pybefore the fix:Ran 67 tests,FAILED (failures=3), the three new tests (the runner printed no FAIL/PASS/SKIP row for cs_tbuffer_store).python3 -I tests/test_run_gpu_tests.pyafter the fix:Ran 67 tests,OK.python3 -I scripts/check_no_game_data.py scripts/run_gpu_tests.py tests/test_run_gpu_tests.py: exit 0.Not tested: a real GPU run of cs_tbuffer_store (no GPU here, and the test needs the retail package for the translator fixture). The new tests do not run the real
vk_compute_test.AI-assisted (Claude Code).
@MoonEyes on GitHub · 2026-11-24 13:56 UTC · original
Reviewed locally at
7b94777c6.cs_fmt_*branches, andtbuffer_store_testgoes through the samedump_test, so the verdict is read the same way. 128 is right:len(TBUFFER_STORE_WORDS)is 52, plus 76 untouched words.dump_test(non-zero exit, no dump file, wrong size, wrong word) returns a non-empty string, and aSkipis turned into SKIP by the summary'sisinstance(detail, Skip)before counting.python -I tests/test_run_gpu_tests.py: 67 tests OK. With only the fix line removed: 3 failures, the three new tests, so they catch the bug.check_no_game_data.pyon both files: exit 0. Merges cleanly into current main (2d73c242f). No other open PR touchesrun_gpu_tests.py.Not checked: a real GPU run.
AI-assisted review (Claude Code).
@aslan2142 on GitHub · 2026-11-25 21:27 UTC · original
Merged, thanks! The new test fails on
mainand passes with this.mainb26320c22+7b94777c6: the semantic suite passes (491 files, 6,312 tests, 0 files failed);test_run_gpu_tests,test_shader_checkspass; the 15 docs and writer tests pass;check_no_game_data.pyis clean on the 2 changed files.AI-assisted (Claude Code, Claude Opus 5.5).