test(agc): skip unavailable shadow checks #7664

Merged
MarcZX10 merged 1 commit from upstream-pr/7664 into main 2026-10-18 22:51:53 +00:00
MarcZX10 commented 2026-10-18 21:06:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T21:06:29Z.


What

Make the unit-shadow and pending-key-store focused tests report a CTest skip when their required host import is unavailable or refused, or when unit-shadow imports are not write-watched. Each helper now reports whether its checks ran, and the focused command-line paths return 77 with a device-limitation message instead of reporting a false pass.

Fixes #7661

Tested

  • python3 tools/check_conventions.py --base upstream/main: passed.
  • git diff --check: passed.
  • GNU 12.2 Release build of agc_driver_recorder_tests: passed. The checkout has an unrelated existing GCC 12 parse error in SrtDescriptorEvaluation.cpp; I applied a one-line template keyword workaround only in the temporary build source.
  • Focused CTest (agc_unit_shadow, agc_pending_key_stores, agc_driver_unit_shadow, agc_driver_unit_shadow_budget): all stopped at the host CPU guard before reaching the tests. This Xeon E5-1620 v2 lacks LZCNT, BMI1, BMI2, MOVBE, AVX2 and FMA.
  • GPUs tested: none. Hosted PR CI skipped the build/test jobs; the manual full-build workflow requires repository admin rights, which this account does not have.

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 or are listed in technical debt
  • No notes, investigation files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: #7661
  • Unblocks: none
  • GPUs tested: none; AGC tests could not run on this host
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4912814782 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7664). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-18T21:06:29Z. --- ### What Make the unit-shadow and pending-key-store focused tests report a CTest skip when their required host import is unavailable or refused, or when unit-shadow imports are not write-watched. Each helper now reports whether its checks ran, and the focused command-line paths return 77 with a device-limitation message instead of reporting a false pass. Fixes #7661 ### Tested - `python3 tools/check_conventions.py --base upstream/main`: passed. - `git diff --check`: passed. - GNU 12.2 Release build of `agc_driver_recorder_tests`: passed. The checkout has an unrelated existing GCC 12 parse error in `SrtDescriptorEvaluation.cpp`; I applied a one-line `template` keyword workaround only in the temporary build source. - Focused CTest (`agc_unit_shadow`, `agc_pending_key_stores`, `agc_driver_unit_shadow`, `agc_driver_unit_shadow_budget`): all stopped at the host CPU guard before reaching the tests. This Xeon E5-1620 v2 lacks LZCNT, BMI1, BMI2, MOVBE, AVX2 and FMA. - GPUs tested: none. Hosted PR CI skipped the build/test jobs; the manual full-build workflow requires repository admin rights, which this account does not have. ### 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 or are listed in technical debt - [x] No notes, investigation files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: #7661 - [x] Unblocks: none - [x] GPUs tested: none; AGC tests could not run on this host - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-18 21:25:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T21:25:53Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1368 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1395 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 5021 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 5925 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6185 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6186 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6188 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6192 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6312 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6486 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6683 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6747 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6763 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6868 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6946 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6947 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6970 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6989 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6995 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7002 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7258 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7332 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7642 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6255339622 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7664#issuecomment-6255339622). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T21:25:53Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6312](https://www.github.com/boykopovar/AnyPS5/pull/6312) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6486](https://www.github.com/boykopovar/AnyPS5/pull/6486) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6763](https://www.github.com/boykopovar/AnyPS5/pull/6763) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` |
LeandroLP23 commented 2026-10-18 22:33:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-18T22:33:50Z.


Windows and AMD run. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON. Build: main 8a456334f with #7677, #7673, #7671, #7666, #7676, #7675, #7672, #7668, #7664 and #7658 merged together (each merge clean, built once).

agc_unit_shadow, agc_driver_unit_shadow, agc_driver_unit_shadow_budget and agc_pending_key_stores pass 3 runs of 3.

AI-assisted

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6255993749 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7664#issuecomment-6255993749). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-18T22:33:50Z. --- Windows and AMD run. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON`. Build: `main` `8a456334f` with #7677, #7673, #7671, #7666, #7676, #7675, #7672, #7668, #7664 and #7658 merged together (each merge clean, built once). `agc_unit_shadow`, `agc_driver_unit_shadow`, `agc_driver_unit_shadow_budget` and `agc_pending_key_stores` pass 3 runs of 3. AI-assisted
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!7664
No description provided.