mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #119] tests: create gta6rt.exe on Windows in test_leonida_mods run --print test #170
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#170
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/119
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9853📝 Commits (1)
3f90678tests: create gta6rt.exe on Windows in test_leonida_mods run --print test📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
tests/test_leonida_mods.py(+4 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116717748
What and why
tests/test_leonida_mods.py(test_run_print_builds_gta6rt_command) only writesgta6rt.shinto the temporary port directory, so on Windows (os.name == "nt"), wheretools/leonida_mods.pyresolvesgta6rt.exe, the test fails with exit code 2 (port has no gta6rt executable).Creates
gta6rt.exewhenos.name == "nt"andgta6rt.shotherwise.Verification (Windows 11 Home 26H2, CPython 3.11.9, CPU only, no game files)
2d53a8055):python -I tests/test_leonida_mods.py-> FAIL (1 failure).python -I tests/test_leonida_mods.py -v-> 10/10 tests OK in 0.078s.python -I scripts/check_no_game_data.py tests/test_leonida_mods.py: clean (rc=0).git diff --check: clean (rc=0).AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.