tests: link the kernel filesystem test on Windows #565
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!565
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/565/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?
@psnwd on GitHub · 2026-09-11 16:47 UTC · original
psnwd:fix/kernel-fs-peek-waitall→main· +2 −0 · 1 files · 1 commits · closed without mergingSDL_main.h rewrites main() to SDL_main() on Windows, and nothing links SDL2main, so the test failed to link with "undefined symbol: main" and the executable was never produced. ctest then reported "Could not find executable" rather than a failure, which is how a red test went unnoticed on main.
Define SDL_MAIN_HANDLED ahead of the SDL include; the test drives SDL itself and does not want the rewrite. With the executable building again the failure reported in #505 reproduces: guest PEEK and WAITALL do not preserve the wake bytes, and the test exits 0xc0000409. That fix is not part of this change.
issue: #505
@diegoalejandrogomez on GitHub · 2026-09-19 19:33 UTC · original
I reached this same conclusion in my pr #712 , since the flag is used in other platforms besides windows that are not in the scope of the project, I don't see the need of adding the guards as I did
Pull request closed