ci: summarize CTest outcomes and retain results #2127
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2127"
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 Apopal1 on 2026-10-09T09:40:37Z.
What
Refs #1669 (execution and skip accounting), also #1012.
CTest's headline pass percentage does not distinguish capability skips from disabled or fixture-blocked tests. Add a compact job summary for the existing relinker matrix and Linux/Windows full-build jobs: selected cases, passed, failed, skipped, and not run. List non-passing cases and their CTest completion reasons.
Retain JUnit XML as an Actions artifact (plus the existing full-build log), including test names, durations and captured output. Write summaries and upload results after a test failure. Missing, empty, malformed, inconsistent or unknown-status reports fail the reporting step rather than produce a green-looking zero-test table. Counts refer to selected test cases in the report, not individual repeat attempts.
This is a narrow part of #1669, not a claim to complete its sanitizer, GPU-provenance or release work. Build eligibility, repeat policy, Vulkan requirements and the original CTest exit status are preserved.
#1028 implements expected-skip enforcement, which this PR does not duplicate. Both touch the full-build CTest command; when combining them, reuse one JUnit report and retain the skip-policy check. #988 reports maintenance workflow activity, not CTest outcomes.
Tested
Windows 11, Python 3.11.15, CTest 4.4.4, WinLibs GCC 15.2.0; rebased onto upstream main
d70b89989473ba1f6ae13e44e079e67f1f8a44b0.Resolved the CMake conflict with #2134, retaining both
test_summaryandpr_overlap_encodingregistrations.python -m unittest discover -s tools/tests -v: 27/27 passed, including the summary and overlap-encoding regressions.41 | 41 | 0 | 0 | 0.libstarget: passed. Full CTest on Intel UHD Graphics 730: 508 selected, 476 passed, five failed, 27 skipped, zero not run; CTest returned exit 8. The summary correctly reports508 | 476 | 5 | 27 | 0.d70b8998:agc_driver_buffer_unaligned_base,agc_driver_sdwa_float_selectors,agc_driver_vop1_float_unary,agc_driver_vop3_mad_i64,agc_driver_vopc_compare. This PR changes no native runtime or GPU test sources. The full local suite is not claimed to pass.python tools/check_conventions.py --base upstream/mainandgit diff --check upstream/main HEAD: passed.The required GitHub Build workflow remains pending for the updated branch: full Linux/Windows builds and the relinker matrix require a collaborator-triggered run with write access. No final review is requested while those checks are pending. Linux/macOS execution, title/homebrew and PS5 hardware testing were not performed locally. Actions artifact upload and rendering require an actual workflow run.
Checklist
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T09:55:02Z.
I checked the full diff against current
main(745b775e2d883c68560b2d87f4ab96a01e221ccf). The branch still conflicts inCMakeLists.txtwith #2134, which registers a separate overlap-encoding regression test. These are distinct changes; please rebase on currentmainand keep bothadd_testentries (test_summaryandpr_overlap_encoding) when resolving the conflict. Please refresh the base commit in the PR description as well.The checks currently show only the conventions workflow. After updating the branch, please run the required Build workflow for the new head (Linux/Windows full builds and the relinker matrix) before requesting final review. I have not submitted an approval while the branch is conflicted and those checks are absent.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T22:31:02Z.
Closing for now: #1028 already changes how test outcomes are reported, and job summaries and artifacts are a convenience we don't need in CI yet.
Pull request closed