mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1241] run_wine_session: initialize and stop the prefix with $WINE (OLD-9952) #1273
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#1273
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/1241
Author: @IlyassRS3
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-9952-run-wine-session📝 Commits (1)
cf6a451run_wine_session: initialize and stop the prefix with $WINE📊 Changes
3 files changed (+94 additions, -3 deletions)
View changed files
📝
docs/testing.md(+3 -1)📝
scripts/run_wine_session.sh(+16 -2)➕
tests/test_run_wine_session.py(+75 -0)📄 Description
What changed
Carries forward
old-pr/9952(draft #221, original commit by @SkippySteve) rebased cleanly onto currentmain(2e026b03e), preserving the original author commit.scripts/run_wine_session.sh: resolve$WINE(defaultwine) viacommand -v(reporting missing Wine with exit status 127), run"$wine_path" wineboot --initinstead of barewineboot, and shut down the prefix with$WINESERVER, else the siblingwineservernext to$wine_path, elsewineserveronPATH.docs/testing.md: document$WINE/ siblingwineserver/$WINESERVERprefix handling for Proton and UMU-Proton builds without a system Wine.tests/test_run_wine_session.py: add 4 unit tests covering Proton$WINE+ siblingwineserver, defaultwineonPATH,$WINESERVERoverride +PATHfallback, and missing$WINEexit 127 reporting.Item ID
OLD-9952(carries forwardold-pr/9952/ draft #221, #17)Verification
Tested on macOS 27.2.1 (Apple M5 arm64), Python 3.14, bash +
/usr/bin/timeout(no game files, no GPU, standard library only):TMPDIR=/var/tmp python3 -I tests/test_run_wine_session.py -v-> 4/4 OKscripts/run_wine_session.shtoupstream/mainwhile keepingtests/test_run_wine_session.py) -> FAILED (failures=4) (all 4 tests fail); restoring the fix returns to 4/4 OK.tests/test_docs_*.pysuites -> all OKpython3 -I tests/test_ci_registration.py-> 15/15 OK (new test file selected by CI stdlib loop)python3 -I tests/test_text_write_line_endings.py-> 3/3 OKpython3 -m compileall -q tests/test_run_wine_session.py-> OKpython3 -I scripts/check_no_game_data.py docs/testing.md scripts/run_wine_session.sh tests/test_run_wine_session.py-> OKChecklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.