Repository navigation
test(libSceDiscMap): cover null arguments in GuestDiscMap - #11835
PrivacyOnion wants to merge 1 commit into
Conversation
|
@PrivacyOnion please drop the |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed head 3ad7b89 against current main. I extracted the exact GuestDiscMap test and production Export/API/SceTypes sources and compiled them with GCC 12 in C++20 mode using a minimal NotImplemented shim; the DiscMap test passed. It verifies null arguments return noBitmapInfo and the package-size path reaches the existing throwing stub. Windows product CI and eligibility, intake, conventions and labels pass; Linux and relinker jobs are path-skipped. No overlapping open implementation was found.
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
3ad7b89 to
e4dee2d
Compare
|
@oneandonlydean Done! Dropped the \sceDiscMapGetPackageSize\ check and <stdexcept>\ include, kept the null-argument checks, and updated What/Tested accordingly. |
THEMANnt
left a comment
There was a problem hiding this comment.
Reviewed e4dee2d103e6bde86fc4944e823e512414abfec0 — approve. The DiscMap cases pass null paths/output pointers and confirm the existing missing-bitmap result without dereferencing them. They test the current unsupported host path, not physical disc mapping.
Windows/GCC 15.3 Release native validation from pinned sources: head: 1 passed, 0 skipped; guest_disc_map; author base was source-compared: production sources are unchanged; its runtime was not built or executed for this review. This changes test coverage, not production behavior, so an old-production failure is not required. The build reuses matching dependency source pins and the existing FFmpeg package; no full product or game execution is claimed.
What
Cover null argument behavior for
sceDiscMapIsRequestOnHDDandsceDiscMapUnknown_ioKMruft1ekreturningnoBitmapInfo(0x80c30006) inGuestDiscMap.Tested
ctest --test-dir build -R '^guest_disc_map$' --output-on-failurepassed cleanly (1/1 Test fix(libkernel): return EWOULDBLOCK from a contended LOCK_NB flock #1764: guest_disc_map Passed 0.04 sec).python tools/check_conventions.py --base upstream/mainpassed cleanly with 0 errors.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)