test(agc): link agc_driver_graphics_tests again, run it under ctest and bring its stale expectations up to date #113

Merged
oneandonlydean merged 1 commit from upstream-pr/113 into main 2026-09-30 14:55:46 +00:00
oneandonlydean commented 2026-09-28 23:59:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-09-28T23:59:25Z.


What

#153 made agc_driver_graphics_tests link again and brought its stale expectations up to date, which was most of this PR. What is left:

  • The target is registered with ctest next to the other AGC tests, so it is built and run. It needs no GPU.
  • main set APS5_PIN_WAIT_MS through _putenv_s only, so the test did not compile outside Windows. It now uses setenv there, as ShaderDiskCache.cpp already does.
  • The heap mirror tests need a write-watched guest arena and required one. Without it (Linux has no guest arena) they now print a notice and are skipped, as the recorder tests already do for the same condition.

Tested

  • Linux (CachyOS, GCC): ctest 65/65 pass, including the newly registered agc_driver_graphics ("Graphics validation tests passed", with "heap mirrors not tested"). On main the target does not compile on Linux (_putenv_s).
  • Windows not run locally; CI will.

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
  • New third-party code is a submodule built from source (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4670738252 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/113). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-09-28T23:59:25Z. --- ### What #153 made `agc_driver_graphics_tests` link again and brought its stale expectations up to date, which was most of this PR. What is left: - The target is registered with ctest next to the other AGC tests, so it is built and run. It needs no GPU. - `main` set `APS5_PIN_WAIT_MS` through `_putenv_s` only, so the test did not compile outside Windows. It now uses `setenv` there, as `ShaderDiskCache.cpp` already does. - The heap mirror tests need a write-watched guest arena and required one. Without it (Linux has no guest arena) they now print a notice and are skipped, as the recorder tests already do for the same condition. ### Tested - Linux (CachyOS, GCC): `ctest` 65/65 pass, including the newly registered `agc_driver_graphics` ("Graphics validation tests passed", with "heap mirrors not tested"). On `main` the target does not compile on Linux (`_putenv_s`). - Windows not run locally; CI will. ### Checklist - [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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
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!113
No description provided.