agc_command_tests full mode fails on main: stale 32-bit WriteWait expectation #1005
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 hugodearaujo on 2026-10-06T22:54:59Z.
agc_command_testsis registered in ctest only asagc_initialization(agc_command_tests defaults). Run without arguments onmain(09f87823), it fails:The failing case is in
testMemoryincore/libs/prx/libSceAgc/tests/Commands.cpp(line 335):It expects a 32-bit wait (
size0) with a reference above 32 bits to throw. Since9c2a7560(#5, "relaxed checks for what titles send"),WriteWaittruncates the reference and mask of a 32-bit wait instead:With that line commented out, the full mode passes ("AGC command tests passed"), so this is the only stale expectation. The test was not updated because the full mode is not run by ctest.
Two possible fixes:
Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-06T22:59:04Z.
Sent a PR for this that does both: the expectation now asserts the truncating behaviour (the packet keeps the low halves), and the full mode is registered as
agc_commandsso the other cases run again. VerifiedAGC command tests passedand 370/370 ctest. @hugodearaujo if you are already on it, say so and I will close mine.Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-10-06T23:15:53Z.
Not working on it, thanks for picking it up. I built #1006 locally: the full mode now passes,
agc_initializationandagc_commandsboth pass, and the whole suite is 370/370 here too.