fix(ci): restore main's ctest after #1331 and #1496 #2537

Merged
oneandonlydean merged 5 commits from upstream-pr/2537 into main 2026-10-10 03:39:23 +00:00
oneandonlydean commented 2026-10-10 02:13:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T02:13:08Z.


What

Removes agc_driver_recorder_tests from KNOWN_UNRUN in tools/check_test_registration.py. The list is now empty, and it stays a set() because the script uses set operations on it.

Also

With the first change in, three tests from today's merges still failed:

  • guest_video_out_output_mode (#1496) skips with 77 when there is no display or Vulkan window, like the other VideoOut window tests, unless ANYPS5_REQUIRE_DISPLAY is set. Its unopened-handle checks call sceVideoOutIsOutputSupported before sceVideoOutOpen, and that first call builds the VideoOut driver and its window, so they now sit inside the same skip. Linux: terminate called after throwing an instance of 'std::runtime_error' what(): DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
  • The VideoOut tests share one RESOURCE_LOCK. video_out_flip_tests rewrites app0/sce_sys/param.json in the shared test directory on every run and every VideoOut window reads it, so under --parallel 4 one read it half written. Linux, video_out_flip_controls: unexpected end of param.json
  • agc_pipeline_cache (#1331) skips with 77 when no Vulkan device can be created, unless ANYPS5_REQUIRE_VULKAN is set (the Linux job sets it, so it still runs on lavapipe there). Windows: AGC graphics: vkCreateInstance: Vulkan result -9

Why

#1331 registered the agc_pipeline_cache ctest, which runs agc_driver_recorder_tests, but left that executable on KNOWN_UNRUN. Every Linux and Windows build since then fails the registration step:

error: agc_driver_recorder_tests is run by ctest now; remove it from KNOWN_UNRUN

Tested

  • tools/check_conventions.py passes.
  • The module loads, and KNOWN_UNRUN is a set; & and - with it behave as before.
  • tools/check_test_registration.py build passes.
  • guest_video_out_output_mode with SDL_VIDEODRIVER=offscreen and no display: the old test aborts with the line above, the new one skips with 77; with a display it passes.
  • agc_pipeline_cache passes on a GPU, skips with 77 with no Vulkan driver, and fails with ANYPS5_REQUIRE_VULKAN=1 and no driver.
  • ctest -R 'video_out|guest_video_out' -j4 --repeat until-fail:5 passes, with and without a display.

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 (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4807947151 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2537). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T02:13:08Z. --- ### What Removes `agc_driver_recorder_tests` from `KNOWN_UNRUN` in `tools/check_test_registration.py`. The list is now empty, and it stays a `set()` because the script uses set operations on it. ### Also With the first change in, three tests from today's merges still failed: - `guest_video_out_output_mode` (#1496) skips with 77 when there is no display or Vulkan window, like the other VideoOut window tests, unless `ANYPS5_REQUIRE_DISPLAY` is set. Its unopened-handle checks call `sceVideoOutIsOutputSupported` before `sceVideoOutOpen`, and that first call builds the VideoOut driver and its window, so they now sit inside the same skip. Linux: `terminate called after throwing an instance of 'std::runtime_error' what(): DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform` - The VideoOut tests share one `RESOURCE_LOCK`. `video_out_flip_tests` rewrites `app0/sce_sys/param.json` in the shared test directory on every run and every VideoOut window reads it, so under `--parallel 4` one read it half written. Linux, `video_out_flip_controls`: `unexpected end of param.json` - `agc_pipeline_cache` (#1331) skips with 77 when no Vulkan device can be created, unless `ANYPS5_REQUIRE_VULKAN` is set (the Linux job sets it, so it still runs on lavapipe there). Windows: `AGC graphics: vkCreateInstance: Vulkan result -9` ### Why #1331 registered the `agc_pipeline_cache` ctest, which runs `agc_driver_recorder_tests`, but left that executable on `KNOWN_UNRUN`. Every Linux and Windows build since then fails the registration step: ``` error: agc_driver_recorder_tests is run by ctest now; remove it from KNOWN_UNRUN ``` ### Tested - `tools/check_conventions.py` passes. - The module loads, and `KNOWN_UNRUN` is a set; `&` and `-` with it behave as before. - `tools/check_test_registration.py build` passes. - `guest_video_out_output_mode` with `SDL_VIDEODRIVER=offscreen` and no display: the old test aborts with the line above, the new one skips with 77; with a display it passes. - `agc_pipeline_cache` passes on a GPU, skips with 77 with no Vulkan driver, and fails with `ANYPS5_REQUIRE_VULKAN=1` and no driver. - `ctest -R 'video_out|guest_video_out' -j4 --repeat until-fail:5` passes, with and without a display. ### 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](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
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!2537
No description provided.