Repository navigation
Conversation
|
@Elma7e thanks for looking at this library. I would leave this one out: every line the PR adds asserts that an unimplemented placeholder throws ( Could you close this PR, or replace the additions with assertions about behaviour that exists today? The same applies to #13479 and #13485, so a note for any further tests in this area: please pick calls that already return a defined result (a value, an error code or an output written), and leave the |
|
Windows result for head Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, The tree also carried the open PR #13512, merged cleanly, so the run is a joint one. AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine. |
|
@Elma7e heads-up: #13607 implements the five exports this PR checks for a throw ( |
|
Closing, for the reasons @oneandonlydean gave: every added check asserts that a bare Tests for this library are welcome once the calls have real behaviour, pinned to values from a reference. Feel free to reopen with that. |
What
In
libSceAudio3d, the exportssceAudio3dPortOpenEx,sceAudio3dReportRegisterHandler,sceAudio3dReportUnregisterHandler,sceAudio3dPortDestroy, andsceAudio3dPortGetStatusare declared as throwing placeholders viaNotImplemented_nid_no_patch.This PR extends
core/libs/tests/GuestAudio3dPort.cppto exercise these placeholder exports and verify that each throwsstd::exception(std::runtime_error) throughNotImplemented_nid_no_patch, completing the coverage of all callable exports inlibSceAudio3d.Tested
-std=c++20 -O2)g++ -std=c++20 -fsyntax-only.python3 tools/check_conventions.py --base upstream/main(0 errors, 0 warnings).python3 tools/pr_overlap.py --branch test/audio3d-pending-exports-lifecycle(probed 1560 PRs, 0 shared files/exports).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)