Skip to content

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

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
MarcZX10:test/register-guest-hmd
Oct 9, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
MarcZX10:test/register-guest-hmd

Conversation

@MarcZX10

@MarcZX10 MarcZX10 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

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

@oneandonlydean

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

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

@MarcZX10
MarcZX10 force-pushed the test/register-guest-hmd branch 2 times, most recently from 5a95688 to bce6686 Compare October 8, 2026 10:51
@MarcZX10

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch 3 times, most recently from 1060431 to 628a482 Compare October 8, 2026 11:18
@MarcZX10

MarcZX10 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch 5 times, most recently from 096b648 to 88d2050 Compare October 8, 2026 19:07
@MarcZX10

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch from 88d2050 to 3798195 Compare October 8, 2026 19:24
@MarcZX10

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch from 3798195 to 776acab Compare October 8, 2026 21:20
@MarcZX10

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch from 776acab to 1b20ac1 Compare October 8, 2026 21:52
@MarcZX10

MarcZX10 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

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

gunerky commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

@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
MarcZX10 force-pushed the test/register-guest-hmd branch from 1b20ac1 to 9ea2749 Compare October 9, 2026 00:15
@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch from 9ea2749 to a76559c Compare October 9, 2026 08:33
@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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.

@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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

MarcZX10 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor Author

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.

1 similar comment
@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch 7 times, most recently from 75f0c12 to dc4b924 Compare October 9, 2026 10:10
@popcoder565

Copy link
Copy Markdown
Contributor

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 d70b899 in one build with 38 other PRs that had no Windows run.

No title was run.

🤖 Addressed by Claude Code

@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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
MarcZX10 force-pushed the test/register-guest-hmd branch from dc4b924 to 4988789 Compare October 9, 2026 17:48
@MarcZX10

MarcZX10 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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.

@oneandonlydean
oneandonlydean merged commit f67c9e4 into boykopovar:main Oct 9, 2026
2 checks passed
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.

4 participants