Repository navigation
tests: resolve both sides of the Wine runner's working-directory check - #107
Merged
ubiquitarianism merged 1 commit intoNov 24, 2026
Merged
Conversation
The fixture asserts that the child starts in the artifact folder. On Windows tempfile hands out the 8.3 name (RUNNER~1) while Path(__file__).resolve() returns the long one, so the assertion failed inside the child and the case reported exit 1 in the check job. Resolving the working directory too compares the folders, not their spellings; a child started elsewhere still fails.
wavehs
force-pushed
the
tests-win-wine-cwd-resolve
branch
from
November 24, 2026 02:28
190f44d to
1603c83
Compare
Contributor
Author
|
Rebased onto |
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.)