Skip to content

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

Merged
oneandonlydean merged 5 commits into
boykopovar:mainfrom
oneandonlydean:fix/known-unrun-recorder-tests
Oct 10, 2026
Merged

oneandonlydean merged 5 commits into
boykopovar:mainfrom
oneandonlydean:fix/known-unrun-recorder-tests

Conversation

@oneandonlydean

@oneandonlydean oneandonlydean commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

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 (fix(videoout): answer output mode queries with the console's codes #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 (perf(pipeline): reuse key storage and hash keys in blocks #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

boykopovar#1331 registered the agc_pipeline_cache ctest, which runs
agc_driver_recorder_tests, without removing that executable from
KNOWN_UNRUN, so check_test_registration fails on main:
'agc_driver_recorder_tests is run by ctest now; remove it from KNOWN_UNRUN'.
The list is empty now; keep it a set for the set operations below.
guest_video_out_output_mode (boykopovar#1496) opens VideoOut directly, which needs
a Vulkan-capable SDL window, and aborts on the CI runners that have none.
Skip with 77 like the other VideoOut window tests, unless
ANYPS5_REQUIRE_DISPLAY is set.
@oneandonlydean oneandonlydean changed the title fix(tools): drop agc_driver_recorder_tests from KNOWN_UNRUN fix(ci): restore main's ctest after #1331 and #1496 Oct 10, 2026
The unopened-handle checks call sceVideoOutIsOutputSupported before
sceVideoOutOpen, and that first call builds the VideoOut driver, whose
window creation throws without a Vulkan-capable SDL driver. The throw
left main before the skip, so the test aborted on the Linux runner:
'DisplayWindow: Vulkan support is either not configured in SDL or not
available in current SDL video driver (offscreen) or platform'.
Run those checks inside the same skip.
video_out_flip_tests writes app0/sce_sys/param.json in the shared test
directory on every run, and every VideoOut window reads it for its
title. Under ctest --parallel one test read the file while another
rewrote it: 'unexpected end of param.json' in video_out_flip_controls.
Give all of them one RESOURCE_LOCK.
The Windows runner has no Vulkan driver, so agc_pipeline_cache (boykopovar#1331)
fails at device creation: 'AGC graphics: vkCreateInstance: Vulkan
result -9'. Skip with 77 like the other agc execution tests, unless
ANYPS5_REQUIRE_VULKAN is set, as on the Linux job.
@oneandonlydean
oneandonlydean merged commit c72d5ce into boykopovar:main Oct 10, 2026
12 checks passed
SleglJan pushed a commit to SleglJan/AnyPS5 that referenced this pull request Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant