test(display): the startup fixture stubs driver_cache_room (main is red since #2033) #2051

Merged
NotRexed merged 1 commit from fix/test-display-startup-driver-cache into main 2026-11-11 01:18:03 +00:00
NotRexed commented 2026-11-11 01:12:08 +00:00 (Migrated from github.com)

tests/test_display_startup_failure.py compiles host/hos_main.c's main() into a fixture with the functions it calls stubbed out. #2033 added a call to driver_cache_room() (the drivers' shader-cache size), and the fixture has no stub for it:

display_startup_actual.inc:72:5: error: use of undeclared identifier 'driver_cache_room'

The test fails on both OSes on main since then (run 42935226140). This adds the stub beside load_hookshot_env()'s. Test-only: the game builds fine (Windows and Linux builders pass on the same commit).

🤖 Generated with Claude Code

`tests/test_display_startup_failure.py` compiles `host/hos_main.c`'s `main()` into a fixture with the functions it calls stubbed out. #2033 added a call to `driver_cache_room()` (the drivers' shader-cache size), and the fixture has no stub for it: ``` display_startup_actual.inc:72:5: error: use of undeclared identifier 'driver_cache_room' ``` The test fails on both OSes on main since then (run 42935226140). This adds the stub beside `load_hookshot_env()`'s. Test-only: the game builds fine (Windows and Linux builders pass on the same commit). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Commenting is not possible because the repository is archived.
No description provided.