test: the game-free checks that fell behind the mod API's code pass again #2848
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2848
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:test/mod-api-fixtures"
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?
Summary
Fourteen of the game-free checks (
tests/run_all.py) failed onmod-api, on the old head (816d2354) as on the one rebased on main46291934: each fixture copies real code out of the tree and had not followed it. While they fail, CI's game-free checks on #2822 cannot pass. Test fixtures only; no game, renderer or builder code changes.movie_nowstand-in, host/nn_video.c's clock without the background hold.vk_progcache.cppholds it.drain_framegen_sets. Guest holes:UploadLayoutGuardand the transfer layout.WM_NCDESTROY.PADS_IN_BACKGROUND_SETTING(off while Pause in background is on); the fixture takes that macro from host/nn_hid.c.-Wunused-but-set-globalon the fixture's counter.dev compile.Read first: tests/test_input_background.py (the only check whose reading changed, not just its stand-ins).
Testing
Tested: Linux (CachyOS, clang and gcc): the 14 checks pass with
tests/run_all.py --exact; before this change each failed on the oldmod-apihead and on the rebased one. Nothing the game runs changes, so no game run.Still to test: None (CI's game-free checks run them on Linux and Windows).
Measurements
Nothing to measure: test fixtures only.
Risks
None for players: only tests change. A fixture's stand-in could hide a real change in the code it copies; each stand-in mirrors the code's own behaviour as named above.
Checklist
Ready for review
mod-api; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Possibly related, for context: