test(tools): split conventions fixtures across CTest groups #5685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5685"
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 Amoenus on 2026-10-14T06:30:40Z.
Superseded by #5678
Closing this duplicate in favor of the earlier #5678. Its six shards pass five parallel-2 rounds on Windows/Python3.13 at head326845537, with maximum9.295s per process; all54 cases run each round. The original53-case main module passes28.729s. Validation comment on #5678 records the exported-source scope and harness correction. Our implementation and historical validation remain preserved below and on the fork.
Historical submission
What
Split the conventions fixture CTest registration into three groups: silent-stub sections, repository checks, and the remaining cases. Keep the original
conventions_function_bodiesname for the remaining group and preserve direct whole-file unittest invocation.Fixes #5672: this53-case script timed out at30.0414s in our Windows full integration suite and passed alone at27.6355s. Its test/checker/registry blobs match current main. The observed timeout is on that composed integration, not an untouched-main full-suite or CI-runner reproduction.
Three new tests verify complete non-overlapping discovery, discovery of a future class in the remaining group, and rejection of an unknown group. No original cases are removed. No timeout increase, retry or environment switch.
Tested
Windows11 Enterprise26200, Ryzen9950X3D, Python3.13, WinLibs GCC15.2.0r7/Ninja Release.
Head dbc2ab33c is based on main
107190d11da0ffae85f3e06a0362d5f17b6bbf94. Full relinker-only build, conventions, test registration and whitespace checks pass. The candidate's CMake/test/checker/registry files are byte-identical to the extensively tested pre-rebase19018 head; relinker rebuild and all three CTest groups were rerun after rebase.These timings establish local budget margin, not a guarantee on CI hardware or a title/performance result. No runtime libraries, game assets or shader semantics changed; no full application/GPU-suite claim. AI-assisted: Codex.
Checklist
main; no other open PR implements the same split.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T06:36:52Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)CMakeLists.txtL110-111tools/tests/test_check_conventions_comments.pyL597-599Imported from boykopovar/AnyPS5. Originally posted by ideabsassistenza on 2026-10-14T08:04:05Z.
Independent Windows timing check of head
dbc2ab33c8868ad021b9a300260adc6c614db874:conventions_silent_stub_sectionsstill reaches a local 30 s limit on this machine.Windows 11 Pro, i7-8700 (6 cores/12 threads), CPython 3.12.14, WinLibs GCC 15.2.0 r7, Ninja Release configuration, CMake 4.4.4;
BUILD_TESTING=ON,ANYPS5_RELINKER_ONLY=ON.ctest --parallel 2 --timeout 30,conventions_silent_stub_sectionstimes out in all three runs (approximately 30.04 s each). The other two groups pass each time. This is a local timing concern, not an assertion failure.TIMEOUTproperty. I imposed 30 s for this check; the pinned build/release workflows use a 120 s fallback, so these local timeouts are not a claim that the PR's current CI fails.5ee94cf571c71de79b9e28759a72400001b9ab48passes its 53 cases in 82.719 s and its unsplit CTest group times out with the same local 30 s limit. In a separate check on this machine, alternative #5678 head326845537dpasses all six groups in three parallel-2 runs, with a maximum of 21.749 s.The 13-case silent-stub group may need another split to retain the requested margin on slower Windows hosts. No cases were lost. These are pinned branch-head checks, not a combined build with current main. No native build/runtime, full Windows suite, GPU or title validation; local timings are not CI hardware guarantees.
AI-assisted: yes (Codex); tests and results reviewed in this session.
Pull request closed