test(agc): fix the stale 32-bit WriteWait expectation and run the full suite #1006
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1006"
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 Dextroid17 on 2026-10-06T22:59:03Z.
What
Fixes the stale expectation in
testMemoryand registers the fullagc_command_testsmode in ctest. Closes #1005.WriteWaittruncates the reference and mask of a 32-bit wait (size == 0) to their low halves since9c2a7560("relaxed checks for what titles send"), buttestMemorystill expected a reference above 32 bits to throw, so the binary failed when run without arguments:Only
agc_initialization(agc_command_tests defaults) is registered in ctest, so the stale expectation went unnoticed and the packet, marker, flip, register and memory cases have not been running.testMemory: the secondexpectFailurebecomes an assertion that the packet keeps the low halves of the reference and mask (0x100000000→ 0,0xffffffff00000001→ 1). Thestorage.words == beforecheck now covers only the remainingsceAgcWaitRegMemPatchReferencefailure.CMakeLists.txt: addagc_commands(agc_command_testswith no arguments) next toagc_initialization, so the full mode runs in CI.Tested
./build/tests/agc_command_tests→expected an exception, exit 1.AGC command tests passed, exit 0.ctest -R '^agc_(initialization|commands)$'→ both pass.ctest --test-dir build -j 8 --timeout 120→ 370/370 pass.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)