tests: compare the guest-scene record with the loader path the runner resolves #23
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!23
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/23/head"
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?
@wavehs on GitHub · 2026-11-24 01:56 UTC · original
wavehs:test-guest-scene-record-realpath→main· +7 −2 · 1 files · 2 commits · merged 2026-11-24 02:26 UTCClaimed in the coordination issue as: none — the original project's coordination issue was lost with its repository, and this repository has no such issue yet. No open pull request touches
tests/test_guest_scene_reference.py.Depends on: none.
What and why
tests/test_guest_scene_reference.pyfails its launch-failure case on macOS (test_guest_scene_reference.py:120,1 failed), which is one of the two red files in the standard-library loop:scripts/run_guest_scene.py:348resolves--loader,--guestand--shadersbefore it starts, so the run record deliberately holds the physical path.tempfilehands out/var/folders/...on macOS, which is a symlink to/private/var/folders/..., so the expectation has to be resolved too. The assertion now compares withstr(bad_loader.resolve()); nothing else in the test changes, and on Linux and Windowsresolve()is a no-op there.Test file only; no tool code.
Tested
main@9ec34cdff, macOS 15 arm64 (Apple M3 Pro), CPython 3.15.2, CPU only, no game files:tests/test_guest_scene_reference.pymain@9ec34cdffFAILED (failures=1)— the diff aboveRan 6 tests ... OKtests/test_dev_guest_scene.pyalso OK,compileallclean,check_no_game_data.pyclean. Not run: Windows, real Linux, any GPU test, the translator suite.AI-assisted: yes.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: test-only.)@wavehs on GitHub · 2026-11-24 02:23 UTC · original
Extended with the other two Windows failures in the same file (the Windows
checkjob on9ec34cdffreported three here, not one):and the same for
utf-8. The runner resolves--out(run_guest_scene.py:355) and prints the physical report path, so those two subtests now comparestr(report.resolve()); on macOS the unresolved/varspelling only matched as the tail of/private/var, which is why it stayed green here.tests/test_guest_scene_reference.pyis 6 tests OK on the branch.