Fix video_out_flip_tests termination and run in ctest #1048
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1048"
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 Tenith01 on 2026-10-07T04:26:19Z.
Summary
Resolves the process termination occurring in
video_out_flip_testson the default lifetime mode and registers the headless execution tests in CMake.Changes
AgcDriverShutdown_nid_postfix()in atry/catchwithinVideoOutDriver::presentLoop()to catch the shutdown error without crashing the thread, properly recording it toflipQueue->failure.EXCLUDE_FROM_ALLonvideo_out_flip_testswhenBUILD_TESTINGis active so it's compiled withctest.add_testinstances forlifetime,decode, andcontrolsmodes with matching headless properties.Testing
guest_video_out_wqhd_detection.Related Issue
Fixes #1040
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T03:25:27Z.
Have you run the three new ctest entries? The description says the change was checked against the issue text only, and
video_out_flip_lifetimeneeds SDL and a Vulkan device (#1040 usedSDL_VIDEODRIVER=offscreenand lavapipe). Please add the ctest output and fill in the PR template.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T12:31:21Z.
Independent Linux validation of the current head
84be0c860ee9d0c5fd367e663815b23c8550eca6. Builtvideo_out_flip_testsfrom a fresh Release build withBUILD_TESTING=ON(GCC 12.2, Debian x86_64), then ran the three registered cases under SDL offscreen with lavapipe and the CI Vulkan flags:video_out_flip_lifetime,video_out_flip_decode, andvideo_out_flip_controlsall passed (3/3, 0.86 s total).This validates the three Linux CTest entries; Windows was not tested. The PR description still needs the repository What / Tested / Checklist template requested in review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T20:38:22Z.
While checking the requested PR template, I found a duplicate to resolve first: open PR #1575 also wraps
AgcDriverShutdown_nid_postfix()inpresentLoop()and registers the same three headless flip tests with the same CTest names. Its CMake/test-registration changes overlap this PR's scope; #1575 also removesvideo_out_flip_testsfromtools/check_test_registration.py's known-unrun list. CONTRIBUTING says to avoid a second PR implementing the same functions; please coordinate with #1575's author/maintainers on which PR should carry the fix, then update this PR's body and checks for the chosen scope.For reference, I independently built this head (
84be0c86) and got 3/3 CTest passes on Linux with SDL offscreen and lavapipe; Windows remains untested. The PR currently has no upstream check results.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:52:55Z.
Closing: #1225 makes the same
presentLoopchange and test registration for #1040, with Windows runs. If it stalls, please reopen.Pull request closed