AGC driver's EXCLUDE_FROM_ALL test suite is bitrotted and invisible to ctest #22

Closed
opened 2026-09-26 21:17:59 +00:00 by obelisk-complex · 0 comments
obelisk-complex commented 2026-09-26 21:17:59 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by obelisk-complex on 2026-09-26T21:17:59Z.


core/libs/prx/libSceAgcDriver/CMakeLists.txt defines 8 EXCLUDE_FROM_ALL test executables covering the AGC driver, the project's largest and highest-complexity libs/prx subdirectory (76 files). None is registered with add_test, so none runs under ctest or shows up in any green build, and 3 of the 8 have silently broken:

  • agc_driver_graphics_tests fails to link: Draw.cpp, Pipeline.cpp and GraphicsPipelineCache.cpp were never added to the target's sources when the test started calling AgcDriver::Graphics::Draw and ShaderRecompiler::BuildRectListShaders.
  • agc_driver_recompiler_tests builds but exits with "missing register at DWORD 0x519" (decimal 519, register COMPUTE_NUM_THREAD_X), which the test never sets.
  • agc_driver_bda_device_tests builds but exits with a stale expected-error string; already being fixed in #20.

These are the only tests exercising AgcDriver::Graphics::Draw, PM4 recompilation and BDA device contract validation. They were clearly passing once; nothing in the build surfaces their drift because they are excluded and unregistered.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5597398350 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/22). Originally posted by [obelisk-complex](https://github.com/obelisk-complex) on 2026-09-26T21:17:59Z. --- `core/libs/prx/libSceAgcDriver/CMakeLists.txt` defines 8 `EXCLUDE_FROM_ALL` test executables covering the AGC driver, the project's largest and highest-complexity `libs/prx` subdirectory (76 files). None is registered with `add_test`, so none runs under `ctest` or shows up in any green build, and 3 of the 8 have silently broken: - `agc_driver_graphics_tests` fails to *link*: `Draw.cpp`, `Pipeline.cpp` and `GraphicsPipelineCache.cpp` were never added to the target's sources when the test started calling `AgcDriver::Graphics::Draw` and `ShaderRecompiler::BuildRectListShaders`. - `agc_driver_recompiler_tests` builds but exits with "missing register at DWORD 0x519" (decimal 519, register `COMPUTE_NUM_THREAD_X`), which the test never sets. - `agc_driver_bda_device_tests` builds but exits with a stale expected-error string; already being fixed in #20. These are the only tests exercising `AgcDriver::Graphics::Draw`, PM4 recompilation and BDA device contract validation. They were clearly passing once; nothing in the build surfaces their drift because they are excluded and unregistered. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
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#22
No description provided.