Run the Windows helper’s tests when reusing a tools-only build #16
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!16
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/16/head"
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?
@RavenCurseBurg on GitHub · 2026-11-25 05:40 UTC · original
RavenCurseBurg:fix/windows-helper-tests→main· +2 −2 · 1 files · 1 commits · merged 2026-11-25 12:51 UTCscripts/build-windows.batpromises to build and run the tests. Ifbuild/windowswas first configured withGTAVI_BUILD_TESTS=OFF, the helper reused that setting. CTest reportedNo tests were found!!!and returned zero, so the script printedOK: Release build and tests passed.The helper now enables
GTAVI_BUILD_TESTSwhen it configures the build and passes--no-tests=errorto CTest. Other CMake entry points still support tools-only builds.Verification
A Windows runner using MSVC 19.52 and Ninja ran the original script against a tools-only cache and reproduced the false success. The fixed script reused that same cache, built the tests, and ran both
gtavi_testsandgtavi_probe_mountssuccessfully. The job log contains both outcomes. Windows comparison runI also verified on Windows with MinGW GCC 15.2 that the stricter CTest invocation failed on the empty test inventory and passed after both tests were restored.
All six standard CI jobs also passed on the PR commit
aa546d1. Fork CI runAI-assisted with Codex + GPT-6.2 Astra (xhigh).