fix(fps): HOS_FPS_LOG read by the switches' rule, so test_env_on passes on main again #2575
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!2575
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/fps-log-env-on"
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?
What
host/oot_high_fps.creads its log switch withenv_on("HOS_FPS_LOG")instead ofgetenv("HOS_FPS_LOG") != NULL. One line, one include, and the comment that describes the switch.Why
The old form is the set-means-on read that #2042 retired: with it
HOS_FPS_LOG=0turned this log on, whilehost/nn_vi.creads the same name withenv_on.tests/test_env_on.pylooks for such reads, so it fails onmainsince #2470 brought the line (#2552 kept it). In run 43120809833 onmain(eed4d912) that is the failure ofPython source checks (ubuntu-24.04, part 2/2)and one of the two inPython source checks (windows-2022, part 1/2):How it was tested
tests/test_env_on.pyonmain9df055f2: fails, naminghost/oot_high_fps.c:16. With this change: passes.tests/run_all.py --strictwithtest_env_on,test_menu_env_onandtest_high_fps_fixes: 3 passed (Arch Linux).host/oot_high_fps.ccompiles withgccandclang(-fsyntax-only -Wall -Wextra, with the generated headers of a local build).Not in this change
The same run has two more failures on Windows that this does not touch:
tests/test_psychov35.py(part 1/2) andtests/test_pcache_header_read.py(part 2/2).No issue was opened for this: it is one line and the failing test is the report.
Assisted-by: Claude Fable 5.2
github-sync referenced this pull request2026-11-12 06:22:54 +00:00
github-sync referenced this pull request2026-11-12 07:28:03 +00:00