test(hmd): register disconnected-device tests #1358

Merged
MarcZX10 merged 1 commit from upstream-pr/1358 into main 2026-10-09 21:45:11 +00:00
MarcZX10 commented 2026-10-08 00:10:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T00:10:44Z.


What

Build and register the existing disconnected-device HMD test with CTest, and add the HMD library directory to the Windows test path.

Tested

Current head 49887893a4987bf7c0c2ca0eb20b8eeb004508ab, rebased onto upstream main f8c2f072463465f875dedb0d20b66c339160c1a1:

  • Linux x86-64, GCC 12.2, Release: regenerated CMake, built guest_hmd_tests, and passed guest_hmd (1/1).
  • python3 tools/check_conventions.py --base upstream/main and git diff --check upstream/main...HEAD pass.

Earlier Windows evidence on pre-rebase head dc4b9248 (based on d70b8998): guest_hmd passed with no skipped cases. Aggregate CTest passed 519/519, but the build included 38 other PRs and needed local fixes to unrelated #1611, #1796, and #1824; it was not an unmodified upstream Build. Current-head Windows testing and the required upstream Linux/Windows Build and relinker matrix remain outstanding.

No physical headset or title runtime was tested.

Checklist

  • Based on current main; no other open PR implements this change
  • One topic per PR; follow-ups go in a new PR
  • No code comments except technical debt comments
  • Unimplemented paths throw; no silent stubs added
  • No notes, investigation files or images added to the repository
  • No new third-party code
  • Generic behavior, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4780008041 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T00:10:44Z. --- ### What Build and register the existing disconnected-device HMD test with CTest, and add the HMD library directory to the Windows test path. ### Tested Current head `49887893a4987bf7c0c2ca0eb20b8eeb004508ab`, rebased onto upstream `main` `f8c2f072463465f875dedb0d20b66c339160c1a1`: - Linux x86-64, GCC 12.2, Release: regenerated CMake, built `guest_hmd_tests`, and passed `guest_hmd` (1/1). - `python3 tools/check_conventions.py --base upstream/main` and `git diff --check upstream/main...HEAD` pass. Earlier Windows evidence on pre-rebase head `dc4b9248` (based on `d70b8998`): `guest_hmd` passed with no skipped cases. Aggregate CTest passed 519/519, but the build included 38 other PRs and needed local fixes to unrelated #1611, #1796, and #1824; it was not an unmodified upstream Build. Current-head Windows testing and the required upstream Linux/Windows Build and relinker matrix remain outstanding. No physical headset or title runtime was tested. ### Checklist - [x] Based on current `main`; no other open PR implements this change - [x] One topic per PR; follow-ups go in a new PR - [x] No code comments except technical debt comments - [x] Unimplemented paths throw; no silent stubs added - [x] No notes, investigation files or images added to the repository - [x] No new third-party code - [x] Generic behavior, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
oneandonlydean commented 2026-10-08 05:12:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T05:12:53Z.


The conventions check fails on the description: please fill in the PR template (What, Tested and the Checklist with the AI-assisted line). The change itself is fine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6052801267 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6052801267). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T05:12:53Z. --- The conventions check fails on the description: please fill in the PR template (What, Tested and the Checklist with the AI-assisted line). The change itself is fine.
oneandonlydean commented 2026-10-08 06:37:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T06:37:29Z.


Same as #1260: please rebase instead of merging main in (three merge commits here).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6054014524 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6054014524). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T06:37:29Z. --- Same as #1260: please rebase instead of merging main in (three merge commits here).
MarcZX10 commented 2026-10-08 10:52:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T10:52:26Z.


Rebased this branch onto current main. Built guest_hmd_tests; guest_hmd passed three consecutive Linux runs. The updated-head GitHub workflows are marked action_required with no jobs; could a maintainer approve the checks?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6058267073 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6058267073). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T10:52:26Z. --- Rebased this branch onto current `main`. Built `guest_hmd_tests`; `guest_hmd` passed three consecutive Linux runs. The updated-head GitHub workflows are marked `action_required` with no jobs; could a maintainer approve the checks?
MarcZX10 commented 2026-10-08 11:18:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T11:18:56Z.


Rebased directly onto upstream/main (c68c7576); current head is 096b648f9677f2d70d6715d2bc56c7ff9154c85d. On Linux x86_64/GCC 12.2, guest_hmd passed (1/1); conventions and git diff --check pass. The current-head workflows are action_required with no jobs, so Windows CI and headset hardware remain unverified.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6058708358 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6058708358). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T11:18:56Z. --- Rebased directly onto `upstream/main` (`c68c7576`); current head is `096b648f9677f2d70d6715d2bc56c7ff9154c85d`. On Linux x86_64/GCC 12.2, `guest_hmd` passed (1/1); conventions and `git diff --check` pass. The current-head workflows are `action_required` with no jobs, so Windows CI and headset hardware remain unverified.
MarcZX10 commented 2026-10-08 19:07:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T19:07:16Z.


Rebased directly onto current upstream main (55e8959b). The Linux target builds and guest_hmd passes (1/1); conventions and git diff --check pass. I updated the PR template with the current head and clarified that Windows CI and headset hardware have not been tested.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067092801 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6067092801). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T19:07:16Z. --- Rebased directly onto current upstream `main` (`55e8959b`). The Linux target builds and `guest_hmd` passes (1/1); conventions and `git diff --check` pass. I updated the PR template with the current head and clarified that Windows CI and headset hardware have not been tested.
MarcZX10 commented 2026-10-08 19:25:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T19:25:15Z.


Rebased directly onto current upstream main (b858fdc4), removing the earlier merge commits from the branch. Built guest_hmd2_tests; guest_hmd2 passes (1/1) on Linux. Conventions and git diff --check pass. Windows CI is still awaiting maintainer approval; no headset hardware was available locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067409754 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6067409754). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T19:25:15Z. --- Rebased directly onto current upstream `main` (`b858fdc4`), removing the earlier merge commits from the branch. Built `guest_hmd2_tests`; `guest_hmd2` passes (1/1) on Linux. Conventions and `git diff --check` pass. Windows CI is still awaiting maintainer approval; no headset hardware was available locally.
MarcZX10 commented 2026-10-08 21:20:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:20:25Z.


Rebased onto current upstream main (364a56b; head 776acabf). Conventions and git diff --check pass. On the previous head, both HMD tests passed on Linux and Windows; Windows failed only tls_function_coverage at 120.03 s, outside this PR diff. No checks are reported for the rebased head yet. The updated PR body records these limits.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069275894 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6069275894). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:20:25Z. --- Rebased onto current upstream `main` (`364a56b`; head `776acabf`). Conventions and `git diff --check` pass. On the previous head, both HMD tests passed on Linux and Windows; Windows failed only `tls_function_coverage` at 120.03 s, outside this PR diff. No checks are reported for the rebased head yet. The updated PR body records these limits.
MarcZX10 commented 2026-10-08 21:24:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:24:45Z.


The Build/Conventions workflow runs for current head 776acabfdc9c689da9b7a268c7ca646c9e74c83b are marked action_required and have no jobs, so upstream CI has not run yet. CONTRIBUTING requires maintainer approval for fork workflows. Could an authorized maintainer approve these current-head runs?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069340330 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6069340330). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:24:45Z. --- The Build/Conventions workflow runs for current head `776acabfdc9c689da9b7a268c7ca646c9e74c83b` are marked `action_required` and have no jobs, so upstream CI has not run yet. CONTRIBUTING requires maintainer approval for fork workflows. Could an authorized maintainer approve these current-head runs?
MarcZX10 commented 2026-10-08 21:52:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:52:45Z.


Rebased onto current upstream main (94b1eecb; head 1b20ac1e). The full diff is still the one CMake registration, and conventions plus git diff --check pass. On a prior head, the HMD tests passed in Linux and Windows; Windows failed only on tls_function_coverage at 120.03 s, outside this diff. No checks are reported for the new head. Could a maintainer approve its fork workflows?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069754432 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6069754432). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:52:45Z. --- Rebased onto current upstream `main` (`94b1eecb`; head `1b20ac1e`). The full diff is still the one CMake registration, and conventions plus `git diff --check` pass. On a prior head, the HMD tests passed in Linux and Windows; Windows failed only on `tls_function_coverage` at 120.03 s, outside this diff. No checks are reported for the new head. Could a maintainer approve its fork workflows?
gunerky commented 2026-10-08 23:40:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by gunerky on 2026-10-08T23:40:26Z.


@MarcZX100 I opened #1913 to split the existing tls_function_coverage test into 30 bounded CTest groups, preserving the existing cases and assertions. This addresses test scheduling separately from the HMD registration change here.

Locally on Windows, the full relinker suite passed 65/65 tests, and all TLS groups passed three repetitions (90/90 runs). Hosted CI timing is not yet validated, so this is not a confirmed fix for the reported CI timeout.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071209526 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6071209526). Originally posted by [gunerky](https://github.com/gunerky) on 2026-10-08T23:40:26Z. --- @MarcZX100 I opened #1913 to split the existing `tls_function_coverage` test into 30 bounded CTest groups, preserving the existing cases and assertions. This addresses test scheduling separately from the HMD registration change here. Locally on Windows, the full relinker suite passed 65/65 tests, and all TLS groups passed three repetitions (90/90 runs). Hosted CI timing is not yet validated, so this is not a confirmed fix for the reported CI timeout. AI-assisted: yes.
MarcZX10 commented 2026-10-09 00:16:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T00:16:00Z.


Updated head 9ea2749753f287411551d6a4fa61a2a933d52b95 is rebased on current upstream main (f145139676a48306681d3a4d5fabf83938759daf). The diff remains the single HMD CMake registration. Locally on Linux x86_64/GCC 12.2 Release, guest_hmd_tests builds and guest_hmd passes (1/1); conventions and git diff --check pass. No checks are reported yet for this head. CONTRIBUTING requires maintainer approval for fork workflows; could an authorized maintainer approve Build and Conventions for this head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071613778 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6071613778). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T00:16:00Z. --- Updated head `9ea2749753f287411551d6a4fa61a2a933d52b95` is rebased on current upstream `main` (`f145139676a48306681d3a4d5fabf83938759daf`). The diff remains the single HMD CMake registration. Locally on Linux x86_64/GCC 12.2 Release, `guest_hmd_tests` builds and `guest_hmd` passes (1/1); conventions and `git diff --check` pass. No checks are reported yet for this head. CONTRIBUTING requires maintainer approval for fork workflows; could an authorized maintainer approve Build and Conventions for this head?
MarcZX10 commented 2026-10-09 00:42:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T00:42:30Z.


The fork Build for current head 9ea2749753f287411551d6a4fa61a2a933d52b95 completed successfully: Linux, Windows, and relinker jobs on Ubuntu, Windows, and macOS passed. I added its run link to the description. Upstream still reports no checks for this head; CONTRIBUTING requires maintainer approval for fork workflows.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071904405 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6071904405). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T00:42:30Z. --- The fork Build for current head `9ea2749753f287411551d6a4fa61a2a933d52b95` completed successfully: Linux, Windows, and relinker jobs on Ubuntu, Windows, and macOS passed. I added its run link to the description. Upstream still reports no checks for this head; CONTRIBUTING requires maintainer approval for fork workflows.
MarcZX10 commented 2026-10-09 08:33:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:33:54Z.


Rebased the one-file CMake diff onto current upstream main 6cc0503d. The current Linux guest_hmd test passes (1/1, 0.00 s); conventions and diff checks pass. Prior Windows jobs passed guest_hmd and guest_hmd2 on the same source diff. Fork Build 37905664575 is running on the rebased head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077404674 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6077404674). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:33:54Z. --- Rebased the one-file CMake diff onto current upstream `main` `6cc0503d`. The current Linux `guest_hmd` test passes (1/1, 0.00 s); conventions and diff checks pass. Prior Windows jobs passed `guest_hmd` and `guest_hmd2` on the same source diff. Fork Build [37905664575](https://github.com/MarcZX100/AnyPS5/actions/runs/37905664575) is running on the rebased head.
MarcZX10 commented 2026-10-09 08:38:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:38:01Z.


Thanks for opening #1913. I noted it as separate follow-up context; #1358 remains limited to registering the existing HMD test and setting the Windows library path. The current Linux guest_hmd test and prior Windows HMD checks pass on that diff.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077462985 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6077462985). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:38:01Z. --- Thanks for opening #1913. I noted it as separate follow-up context; #1358 remains limited to registering the existing HMD test and setting the Windows library path. The current Linux `guest_hmd` test and prior Windows HMD checks pass on that diff.
MarcZX10 commented 2026-10-09 08:44:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:44:36Z.


Fork Build completed with Linux and Windows blocked on the unrelated agc_shader_fusion_tests compile error: VulkanTestDevice.hpp cannot find spirv/unified1/spirv.hpp. All three relinker jobs passed. I recorded the exact result in the PR description and linked #2093 as the dependency fix.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077556512 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6077556512). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:44:36Z. --- Fork Build completed with Linux and Windows blocked on the unrelated `agc_shader_fusion_tests` compile error: `VulkanTestDevice.hpp` cannot find `spirv/unified1/spirv.hpp`. All three relinker jobs passed. I recorded the exact result in the PR description and linked #2093 as the dependency fix.
MarcZX10 commented 2026-10-09 08:44:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:44:46Z.


Fork Build completed with Linux and Windows blocked on the unrelated agc_shader_fusion_tests compile error: VulkanTestDevice.hpp cannot find spirv/unified1/spirv.hpp. All three relinker jobs passed. I recorded the exact result in the PR description and linked #2093 as the dependency fix.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077559128 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6077559128). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:44:46Z. --- Fork Build completed with Linux and Windows blocked on the unrelated `agc_shader_fusion_tests` compile error: `VulkanTestDevice.hpp` cannot find `spirv/unified1/spirv.hpp`. All three relinker jobs passed. I recorded the exact result in the PR description and linked #2093 as the dependency fix.
popcoder565 commented 2026-10-09 15:45:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T15:45:14Z.


Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head dc4b9248, merged onto main d70b8998 in one build with 38 other PRs that had no Windows run.

  • This PR's tests pass: guest_hmd. None of them reported skipping a case.
  • Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there).

No title was run.

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084252358 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6084252358). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T15:45:14Z. --- Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head `dc4b9248`, merged onto `main` d70b8998 in one build with 38 other PRs that had no Windows run. - This PR's tests pass: `guest_hmd`. None of them reported skipping a case. - Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there). No title was run. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
MarcZX10 commented 2026-10-09 17:35:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T17:35:12Z.


Thanks for the exact-head Windows run. I added the focused test result and aggregate CTest result to the PR description, including the local fixes to unrelated PRs so the batch is not presented as an unmodified upstream Build. The required upstream matrix and title testing remain outstanding.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6086014798 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6086014798). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T17:35:12Z. --- Thanks for the exact-head Windows run. I added the focused test result and aggregate CTest result to the PR description, including the local fixes to unrelated PRs so the batch is not presented as an unmodified upstream Build. The required upstream matrix and title testing remain outstanding.
MarcZX10 commented 2026-10-09 17:48:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T17:48:14Z.


Rebased this PR onto current main at 49887893. The updated CMake target builds, and Linux guest_hmd passes 1/1; Conventions and diff checks pass. The Windows evidence is on the old head, so current-head Windows plus the required upstream Build matrix remain outstanding.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6086226980 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1358#issuecomment-6086226980). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T17:48:14Z. --- Rebased this PR onto current `main` at `49887893`. The updated CMake target builds, and Linux `guest_hmd` passes 1/1; Conventions and diff checks pass. The Windows evidence is on the old head, so current-head Windows plus the required upstream Build matrix remain outstanding.
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!1358
No description provided.