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#2379
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?
Hookshot version
main
b744b1ec(every main sinced522ec0e, 2026-11-11 16:36 UTC), from sourceWhat kind of problem
Something else
What happened
Two game-free tests no longer compile on main, so
tests/run_all.py(the "Game-free source regressions" check) fails there:(g++ says
'env_on' was not declared in this scopeat the same lines.)The cause is three merges meeting, and two of them are mine. #2042 made
env_on()the rule for on/off switches and changed, among others, theHOS_NO_MOVIESread in OpenFile (host/nn_fs.c) and theHOS_VIDEO_NO_CATCHUPread indec_acquire(host/nn_video.c). #2301 and #2322, merged two and three minutes later, each added a test that cuts one of those functions out of its source file and compiles it in a small fixture. Both were written on a base before #2042, so their fixtures have noenv_on. Each pull request passed alone.Only the two tests' fixtures are affected. The source files themselves include
gpu/vk/compat/hookshot_env.h.Where in the game
Not in the game:
tests/run_all.pyHow often
Every time
Graphics card and driver version
Does not depend on it
CPU, RAM and operating system
i9-13900K, 96 GB, Arch Linux (g++ 16.2.1, clang++ 23.1.3)
Changes from the defaults
None
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
Not a game run. To see it:
python3 tests/test_vcore_video_acquire.py --cxx clang++on main.Claim
I'm working on this: the fix is one line in each test's compile command (the header with
-include, as #2042 did for the other tests that cut code out of the sources), and its pull request follows this issue directly. Bydocs/workflow.md: S2 (main's checks are red for everyone) x reach (every contributor's run) x confidence 1.0 (cause found, fix passes with both compilers here).