mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:30:53 +01:00
[PR #107] [MERGED] tests: resolve both sides of the Wine runner's working-directory check #159
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#159
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/107
Author: @wavehs
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:tests-win-wine-cwd-resolve📝 Commits (1)
1603c83tests: resolve both sides of the Wine runner's working-directory check📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
tests/test_run_wine_tests.py(+3 -1)📄 Description
Claimed in the coordination issue as: none — the original project's coordination issue was lost with its repository, and this repository's issue index (#18) has no entry for it. No open pull request touches this file.
Depends on: none.
What and why
The last failing file in the Windows
checkjob is this one, and the failure is in the fixture, not in the runner:tempfilehands out the 8.3 name on Windows (RUNNER~1), and the right-hand side is resolved, so the two spellings name one folder but compare unequal — the child fails its own assertion. The fixture used to check that the runner starts the artifact in its own folder, and that is still what it checks: resolving the working directory compares the folders. A child that started somewhere else still fails the assertion.(For the record, the
no Wine prefix at ... no-prefix: drive d: not mappedline in the same output is the deliberate note fromMainTest.setUpkeeping the run away from~/.wine; it is not what failed.)Tested
macOS 15 arm64 (Apple M3 Pro), CPython 3.15.2, CPU only, no game files:
tests/test_run_wine_tests.pymain@9ec34cdffOK(POSIX: the two spellings already match)OKThe Windows failure itself is the
checkjob log quoted above (9ec34cdff, run 45306800350, job 138157329747); the resolved comparison is the sametempfile8.3 shape fixed for other files in #69 and #75. Not run on Windows.compileallclean,check_no_game_data.pyclean.AI-assisted: yes.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: test-only.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.