test: eight game-free checks pass on Windows again #3146
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!3146
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:test/main-checks-windows"
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
Eight game-free checks fail on
mainon Windows. This fixes the checks; nothing the game runs changes.test_loaded_modules_drop,test_linux_pressure,test_program_cache_one_variant,test_program_cache_cleanup: they did not compile, as their stand-ins lackeddisk_write_failed(#3115).test_fsr_uniform_ownership: it did not compile, as its stand-in lackedprepared_dynamic(#3096).test_input_background: its stand-in setinput_snapshot_activeand nothing read it, which clang refuses under-Werror. The check now asks that bindings are read while the flag is set, and that it is cleared once the report is done.test_state_list_give_back: two counters that nothing read (#3115), refused the same way, are gone.test_dlssg_folders(#3131): the code under test joins paths with Windows'\, and the made-up folders had/. They now use the system's separator. Its_wgetenvalso clashed with Windows' own.To see it on
main: runmise run test -- --exactwith those tests' paths (tests/<name>.py) on Windows with llvm-mingw's clang.Testing
Tested: Windows 11, llvm-mingw's clang, on main
e7ee199b0.main, all pass with this.host/nn_hid.c(the flag never set; the flag never cleared) andgpu/vk/vk_dlssg.cpp(a refused parent folder counted as fine).test_input_backgroundandtest_dlssg_foldersfail, as they should. Run on main7c3c16f0a. Not done for the other six.test_fsr_uniform_ownership, on main7c3c16f0a: 836 checks, 835 pass, that one fails. Not run again after.test_lifter(listed as failing onmain; it was not run) andtest_cursor_hidden_linux(#3121 fixes it).tests/change.Still to test: None
Measurements
Nothing to measure: tests only.
Risks
None known. A revert is enough. Players notice nothing.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (Before the rebase, as Testing says.)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.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
@review
Recommendation: Approve. The test-only fixes address the reported failures without changing game code. CI is still running, and the full suite was not rerun after the rebase and final fix. Nothing blocking is left. Recommend approval; not approved on the forge.
Updates eight game-free test fixtures to compile and run on Windows, while retaining their existing checks. The changes add small fixture maintenance costs and do not affect players.
Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes: the author reports that all eight checks failed on base
e7ee199b0and passed with the change on Windows 11 using llvm-mingw clang. Linux results and the full-suite run predate the final head.Other systems: The changes affect test execution on Windows and Linux, not game, renderer, launcher, or player settings. The author reports the eight checks passing on Linux before the rebase; head CI remains pending.
Switches: None added, changed, or removed.
Reviewed:
1a93d44ea4againste7ee199b0e: Read the repository rules, PR template, standards, commit messages, complete diff, changed Python tests, and the affected fixture and production code around the changes. Large C and C++ fixtures and their test drivers were partly skimmed because command output was truncated. The referenced adjacent Tooling checkout and docs/review-checklist.md were absent.; nothing run (a code review).Checked and fine:
Testing: No code or tests were run, as requested. The author reports eight Windows checks passing; CI is still running.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.