test(libSceUserService): cover user event polling #3507
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3507"
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?
Imported from boykopovar/AnyPS5. Originally posted by krishalivaibhav on 2026-10-11T12:01:06Z.
What
Cover
sceUserServiceGetEventin the existing guest user-service test: null input does not consume the initial-user event, the first valid poll returns the implementation's synthetic login event, and a later no-event result leaves the caller buffer unchanged.This tests current AnyPS5 behavior; it does not independently establish the external PS5 event ABI contract.
Tested
macOS, Apple M2: compiled the actual user-service shared library and focused test directly for native arm64 and x86-64. Both tests pass; x86-64 was run under Rosetta.
git diff --checkand the local conventions checker pass. The full system-library build has not been validated for this change.Rebased onto main
dacd78525e537a779682032c0ace7f7af120af05, which includes the former checkout repair #3511. The new head is741b34e45d03f4f1aba12e2313b16cc75abb87d4; conventions and whitespace checks pass. On this exact rebased head, separately compiled the actual current UserService shared library and focused test for native arm64 and x86-64; both test executables passed (x86-64 under Rosetta). These are direct focused builds, not a complete CMake project build. Hosted completed checks show no failures; full Linux/Windows runtime jobs remain skipped/unverified.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T16:59:20Z.
Checked on Linux: build and
guest_user_servicepass; changing an expected value (user_id) makes the test abort, so the new checks do run. LOGIN once then NO_EVENT matches KytyPS5; the null-argument case pins current behaviour, as the description says. Merging.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T19:20:11Z.
Checked on Linux: build and
guest_user_servicepass; changing an expected value (user_id) makes the test abort, so the new checks do run. LOGIN once then NO_EVENT matches KytyPS5; the null-argument case pins current behaviour, as the description says. The earlier red Linux job (agc_driver_preparation_scope_settle) is unrelated to this diff and was rerun. Merging.