mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:20:51 +01:00
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#100
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/48
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9770📝 Commits (1)
2424197w64_graphics: a vk_harness timeout fails that fixture; the rest still run (#9764)📊 Changes
2 files changed (+36 additions, -1 deletions)
View changed files
📝
runtime/test/shaders/w64_graphics.py(+4 -1)📝
tests/test_w64_graphics_args.py(+32 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Fixes
#9764. Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7115571350Depends on: none.
What and why
runtime/test/shaders/w64_graphics.pyrunsvk_harnessthroughsubprocess.run(..., timeout=120)in four places (_draw_heap,_wave_size,live_width,draw). A draw that hangs past the timeout raisedsubprocess.TimeoutExpiredout ofmain(), so a multi-fixture run ended in a traceback and never reported the fixtures after it (#9764).main()now catchesTimeoutExpiredaround each fixture'scheck(), printsvk_harness timed out after 120 son that fixture's line (counted as a failure), runs the remaining fixtures, and still exits 1. Five lines; the four call sites are unchanged.Tested
Windows 11, Python 3.12.10, on
main5d74c2723:python -I tests/test_w64_graphics_args.py: 4 tests OK, including the newtest_a_timeout_fails_that_fixture_and_the_rest_still_run: a fakevk_harnesstimes out on its first call and reports the device as unsupported afterwards;ps_w64_a_skipgets the timeout line,gs_w64_a_ringis still checked (SKIP), andmain()returns 1.w64_graphics.pyerrors with theTimeoutExpiredtraceback from the issue.python -m pytest tests/test_w64_graphics_probe.py tests/test_w64_graphics_reference.py: 5 passed.w64_graphics.py <fixtures> runtime/build/RelWithDebInfo: 17 ok, 12 tier C SKIP, exit 0, the same as before the change.No game files.
AI-assisted: yes (Claude).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
needs rebase(PR-CONFLICT-LABEL) #206