Repository navigation
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
At head d4049168d5c44efc323eb26a532ef7873dc35ba9, the added test invokes all five pending RUDP placeholders and asserts that each throws, consistent with their current implementations.
What I ran
Reviewed the exact head against main at 556547da71c5e25b742f17b1ed9b27253b6e9d4d. The current-base preview was clean. Environment: Debian GNU/Linux x86_64, Python 3.11.2; no compiler or build was run.
git diff --check refs/review/main-latest...refs/review/pr-13485-current
python3 tools/check_conventions.py --base 556547da71c5e25b742f17b1ed9b27253b6e9d4d --head d4049168d5c44efc323eb26a532ef7873dc35ba9
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13485Results
| Check | Result |
|---|---|
| Diff and conventions | Passed. |
| CMake test registration | Confirmed: guest_rudp_context_queries is registered and links libSceRudp. |
| Dependency/mergeability preview | Passed; clean against current main. |
| C++ test execution | Author reports the standalone GCC 15.2 test binary passed; I did not run it locally. |
| Precheck test-quality helper | Could not run because tools/pr_test_quality.py is absent from the isolated snapshot. |
| Hosted CI | Five checks were queued at the final refresh. |
Raw output
All conventions checks passed.
git diff --check exited 0 with no output. Precheck output:
/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13485-d4049168d5c4/report.md
/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13485-d4049168d5c4/report.json
Conclusion: checks failed
The precheck report attributes this conclusion to the unavailable local-only pr_test_quality.py helper; diff, conventions/template, and live dependency/mergeability checks passed.
Sources
Not verified
I did not independently run the C++ test or its negative control. The standalone test result is author-reported; hosted CI remained queued.
|
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 PRs #13479, #13470, #13462, #13459, #13458, #13457, #13456, all 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 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 loop with assertions about behaviour that exists today? |
|
Closing, agreeing with @oneandonlydean's comment: every added line asserts that an unimplemented placeholder throws, so each assertion would fail the day that export is implemented and the implementer would have to delete it first. The throw is already the repository's rule for unimplemented paths and the placeholders are listed in the library's debt file, so the test pins no behaviour. Tests for these exports are welcome once they are implemented, covering their behaviour against the references (edge inputs, error codes). Feel free to reopen with that. |
What
In
libSceRudp, the importssceRudpAccept,sceRudpFlush,sceRudpGetLocalInfo,sceRudpListen, andsceRudpGetContextBufferStatusare declared as import-resolution placeholders that throw throughNotImplemented_nid_no_patch.This PR extends
GuestRudpContextQueries.cppto exercise each of these exports and assert that each one throws an exception viaNotImplemented_nid_no_patch, completing the test harness coverage across all callable exports inlibSceRudp.Tested
-std=c++20 -O2)Export.cppandTimedWait.cpp, executed with exit code 0 (ALL RUDP TESTS PASSED EXIT 0, elapsed < 0.05s).python3 tools/check_conventions.py --base upstream/main(0 errors, 0 warnings).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)