fix(agc): report the SPIR-V check runs as skipped when the build leaves their tests out #10991
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10991"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T12:41:27Z.
What
ANYPS5_AGC_EXECUTION_TESTSlets a build compile only some AGC execution tests; the others are built fromtests/ExecutionTestNotBuilt.cpp, which printsskipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTSand exits with 77. Every registration of an execution test treats 77 as a skip, except two that were added withoutSKIP_RETURN_CODE:agc_driver_f64_denorm_preserve_spirv(agc_driver_f64_fma_subnormals_tests --verify-spv-denorm-mode)agc_driver_f16_to_f32_unpack_spirv(agc_driver_f16_to_f32_unpack_tests --verify-spirv)So in a build that leaves
F64FmaSubnormalsorF16ToF32Unpackout, ctest reports these two as failed instead of skipped. The Windows MSYS2 workflow lists both sources inANYPS5_AGC_EXECUTION_TESTS, which hides this there. This setsSKIP_RETURN_CODE 77on both. The verification modes of the real tests never exit with 77, so a real failure still fails.Two commits, one per test registration.
Tested
Linux x86-64 (Debian 12, GCC 12), a full build with
-DANYPS5_AGC_EXECUTION_TESTS=AddressPasses: on currentmainboth tests are reported asFailed; with this change both are reported asSkipped.python3 tools/check_conventions.py --base upstream/main --head HEADandgit diff --check upstream/mainpass, andpython3 tools/pr_overlap.py --branch marc/fix-agc-spirv-check-skipreports no conflicting pull request (only older pull requests that conflict withmainand sharecore/libs/prx/libSceAgcDriver/CMakeLists.txt). A build that includes both sources was not run here; with them the real tests run as before. Windows and macOS were not run.After rebasing onto the latest
main,python3 tools/check_conventions.py --base upstream/main --head HEADandgit diff --check upstream/main...HEADpass. The overlap scan found 53 open PRs that also touch this CMake file but cannot be compared againstmainbecause their branches already conflict with it; I checked their registrations for these two test names and none addsSKIP_RETURN_CODEfor either test.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-26T19:16:33Z.
Review: APPROVED
Reviewed
882a3e39b67daf13458c7f2e5c29bd04b9730abb. Approve; no actionable finding in this focused review.Both SPIR-V verification registrations now treat the existing return code 77 as an explicit skip rather than a failure. Shader production code and the verification command arguments are unchanged.
Validation: Ran real CTest fixtures using the exact submitted property lines and controlled commands returning 77. Both candidate registrations are skipped; the same two comparison-base registrations fail.
Scope / next step: This checks CTest classification for omitted feature tests. It does not execute shaders or establish GPU/Vulkan validation.