mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #1946] Honor CTest fixture cleanup ordering in the Wine runner #1951
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#1951
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/1946
Author: @lgr123
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:wine-fixture-cleanup📝 Commits (1)
4d05364Honor CTest fixture cleanup ordering in the Wine runner📊 Changes
2 files changed (+68 additions, -10 deletions)
View changed files
📝
scripts/run_wine_tests.py(+20 -4)📝
tests/test_run_wine_test_fixtures.py(+48 -6)📄 Description
Claimed as
WINE-RUNNER-FIXTURE-CLEANUPin #1608.This is a fallback for listings that retain
FIXTURES_*metadata but omit CTest’s generatedDEPENDSedges. In that shape, an early-listed cleanup ran before setup and consumers with both--jobs 1and--jobs 2. I haven’t identified a supported CTest version or a current CI producer that emits that shape. The standardctest --show-only=json-v1export already preserves those edges on CTest 3.24.3 and 4.3.1-msvc1, as reported in the independent review.This patch adds teardown ordering edges without adding failed-setup gates to cleanup. A cleanup shared by two fixtures waits for both setups and all consumers, then runs once. The regressions cover serial and parallel execution, failed setup, failed consumer and skipped setup.
Tested
tests/test_run_wine_test_fixtures.pypassed after rebasing onto9e7720c.git diff --checkand the source-only policy check passed. No game files were used.GPUs tested: n/a.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.