Skip to content

test(agc): skip unavailable shadow checks - #7664

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
MarcZX10:codex/test-skip-7661
Oct 18, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
MarcZX10:codex/test-skip-7661

Conversation

@MarcZX10

@MarcZX10 MarcZX10 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

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

@LeandroLP23

Copy link
Copy Markdown
Contributor

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

@oneandonlydean
oneandonlydean merged commit fc62332 into boykopovar:main Oct 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* fix error Closes an issue (Fixes #N)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agc: agc_unit_shadow (and the refused-import path of agc_pending_key_stores) report Passed without running their checks

3 participants