tests: stub VR pad ports in controller settings tests #1741
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!1741
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1741/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?
@theantipopau on GitHub · 2026-10-20 00:43 UTC · original
theantipopau:fix/vr-test-link→main· +8 −0 · 1 files · 2 commits · merged 2026-10-20 01:22 UTCFixes the main-branch CI break from #1726: controller.cpp now calls PadVrPortHand/PadVrPort/PadVrClose, which controller_settings_tests doesn't link (it #includes controller.cpp directly; full-emulator tests get libs/padVr.cpp via glob). Stubs report no virtual headset, matching the file's existing fake convention. Unblocks CI on main and every open PR.
@coderabbitai[bot] on GitHub · 2026-10-20 00:47 UTC · original · edited 2026-10-20 01:09 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
fb46a03e-7aac-4651-8b30-58c2ddd3623b📥 Commits
Reviewing files that changed from the base of the PR and between
fba1006857and4d3a4d2cfe.📒 Files selected for processing: 1
tests/ControllerSettingsTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
The controller settings test file now defines deterministic
Libs::Controllerstubs for environments withoutpadVr.cpp. The stubs return-1forPadVrPortHand,PAD_ERROR_INVALID_ARGforPadVrPort, andPAD_ERROR_INVALID_HANDLEfor handle validation and close operations.Suggested reviewers:
pyxellatorPriority: ⬇️ Low
Change: Other
Merge Risk: ⚪ Minimal · up to
4d3a4The test-only stubs preserve controller-settings test behavior and introduce no identified merge-blocking risk.
Pre-merge checks:
4 ·
1
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.