test(agc): run the PM4 asynchronous failure mode in ctest #1427

Merged
NahuelGenchi merged 1 commit from upstream-pr/1427 into main 2026-10-08 06:35:48 +00:00
NahuelGenchi commented 2026-10-08 04:53:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by NahuelGenchi on 2026-10-08T04:53:43Z.


What

agc_driver_pm4_tests takes a failure argument that runs testAsyncMemoryFailure, which checks that an asynchronous memory failure reaches idle, suspend, submit and shutdown. Nothing in ctest runs that mode, so the path could break without any test noticing. This adds a second test that runs the failure mode, with the same environment and Windows PATH setup as the existing AGC tests.

The change is six lines in core/libs/prx/libSceAgcDriver/CMakeLists.txt, right after the registration loop. PR #1343 also edits that area. The two changes conflict as text, not in behaviour, so whichever PR merges second needs a small rebase.

Tested

Ubuntu 26.04, software Vulkan (lavapipe), CMake reconfigure, then ctest -R "^agc_driver_pm4_failure$" passes. The R9 380 was not used.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4781983823 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1427). Originally posted by [NahuelGenchi](https://github.com/NahuelGenchi) on 2026-10-08T04:53:43Z. --- ### What `agc_driver_pm4_tests` takes a `failure` argument that runs `testAsyncMemoryFailure`, which checks that an asynchronous memory failure reaches idle, suspend, submit and shutdown. Nothing in ctest runs that mode, so the path could break without any test noticing. This adds a second test that runs the `failure` mode, with the same environment and Windows PATH setup as the existing AGC tests. The change is six lines in `core/libs/prx/libSceAgcDriver/CMakeLists.txt`, right after the registration loop. PR #1343 also edits that area. The two changes conflict as text, not in behaviour, so whichever PR merges second needs a small rebase. ### Tested Ubuntu 26.04, software Vulkan (lavapipe), CMake reconfigure, then `ctest -R "^agc_driver_pm4_failure$"` passes. The R9 380 was not used. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-08 05:27:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T05:27:11Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#1333 core/libs/prx/libSceAgcDriver/CMakeLists.txt L535
#1343 core/libs/prx/libSceAgcDriver/CMakeLists.txt L535
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6053004393 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1427#issuecomment-6053004393). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-08T05:27:11Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #1333 | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L535](https://github.com/boykopovar/AnyPS5/blob/a57ccfb4263eb7cb9f3ff074caf8bf95771f765c/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L535) | | | | #1343 | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L535](https://github.com/boykopovar/AnyPS5/blob/a57ccfb4263eb7cb9f3ff074caf8bf95771f765c/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L535) | | |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!1427
No description provided.