mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:25:53 +01:00
[PR #477] [MERGED] GPU-RUNNER-STORE-DIAGNOSTIC: Keep the helper verdict in GPU test output #527
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#527
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/477
Author: @ettehn
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:fix/gpu-runner-store-verdict📝 Commits (1)
b35b222Keep the GPU helper verdict ahead of the device banner📊 Changes
2 files changed (+19 additions, -4 deletions)
View changed files
📝
scripts/run_gpu_tests.py(+5 -4)📝
tests/test_run_gpu_tests.py(+14 -0)📄 Description
Claimed in the coordination issue as: GPU-RUNNER-STORE-DIAGNOSTIC
What and why
The GPU runner concatenates captured stdout and stderr. For
vk_store_test, the texel verdict is on stdout and the device banner is on stderr. A trailing device banner could therefore hide the verdict. Select the preceding output line when a verdict is available, and keep the device banner as a fallback if it is the only output.Tested
mainfor both successful and failing helper runs when stderr ends with a device banner. With the patch, both display the texel verdict. The device-only failure case also passes.python -IB tests/test_run_gpu_tests.pypassed 64 tests. The 3 line-ending tests and the no-game-data check passed.run_gpu_tests.py --filter imgloadtranslated and validated all four synthetic shaders. The two passing rows show zero bad texels, and the two existing TFE failures from #31 now show64 bad, texel(5,3) = 2071.GPUs tested: NVIDIA GeForce RTX 5070 Ti Laptop GPU, NVIDIA 621.24, Vulkan 1.4.357, Windows 11.
AI-assisted: Yes, OpenAI Codex helped reproduce the issue, implement the fix, and run the tests.
Checklist
main.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.