fix(tests): register write-watch fault modes once #13293
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13293"
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 JJenkx on 2026-10-30T12:09:07Z.
What
The standalone write-watch CMake project registers
write_watch_execute-faultandwrite_watch_read-faulttwice on current main. Configuration stops before either macOS write-watch job can build. Remove the redundant final loop, preserving one registration for each fault mode and all other tests. No C++ test, production code or timeout changes.Tested
Pinned main
51c31ea17e9f66cb36fe9655ec31c81610bfcfc9, Linux host with CMake 4.4.4/Ninja. Actual unmodified standalone configure fails with both duplicate-name diagnostics; the fixed configure/generate passes and CTest JSON contains 18 unique tests, including each fault mode exactly once. The same before/after result holds in a real Darwin CMake cross-configuration on Linux, with an injected assertion verifyingAPPLE=1,CMAKE_SYSTEM_NAME=DarwinandCMAKE_HOST_SYSTEM_NAME=Linux. This is registration/configuration proof, not an Apple SDK build or macOS execution.A Linux compilation attempt of the macOS-only fixtures failed at their unconditional
mach/mach.hincludes; it is retained as excluded wrong-host evidence. No runtime pass is claimed. Conventions and whitespace pass. The original #12468 macOS CI failures reproduce this main-source configuration error; its published scanner branch already has only one fault loop and is unchanged.Configure logs, registration manifests, patch and source proofs, SHA-256
8cece16d735c276255db5e3c6617a50957dc86e743d12ccf894c579fb52dacd8(download verified).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T12:20:23Z.
Review: APPROVED
Reviewed — looks good
The exact-head diff removes only the duplicate
execute-fault/read-faultregistration loop; the remaining registrations and their 30-second timeout stay intact.What I ran
Head
75b97c359a77bc7781a44d3e768765abcfd214eb; PR basede2ba4cecb30ffb1c04d7e7dd693b03eace96b1b. A merge preview against currentmain42d009f5f37c8f388b01fbfe38d2e704c792c46fwas clean (treec8dffe07254a8804fa5dca9a1a350ef91ee0d13e). Environment: Linux x86_64, Python 3.11.2. I did not configure, build, or run CTest locally.Results
Recorder.cppis registered inagc_driver_recorder_tests; this PR changes only the standalone write-watch CMake file.Unedited local check output
Negative control
The change adds no assertion or test logic, so I did not run a code-mutation control. The author-provided evidence artifact records the baseline configuration failing on duplicate test names and the changed configuration generating all 18 unique registrations.
Findings
Blocking: None.
Non-blocking: The artifact establishes configuration and test registration, not test execution. The PR accurately states that macOS runtime and Apple SDK compilation were not verified; the current macOS CI jobs were still pending.
Sources
8cece16d735c276255db5e3c6617a50957dc86e743d12ccf894c579fb52dacd8)Not verified
No local configure, build, CTest execution, Apple SDK build, or macOS runtime. The cross-configuration and registration evidence is from the verified author-provided artifact; pending hosted checks may add platform evidence.
Pull request closed