test(tools): split debt_split cases into separate CTests #15907
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15907"
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 Ondra97 on 2026-11-04T22:54:29Z.
What
The monolithic
debt_splittool test timed out after 120.02 s in the Windows relinker job for #15242. Its independent unittest methods share one CTest budget. The current source has 33 methods, up from the 30 in the original submission.Register each method separately using the existing
conventions_wrapped_declarationsdiscovery pattern. The first source method keeps thedebt_splitname; later names include the class and method.CMAKE_CONFIGURE_DEPENDSrefreshes registrations when the source changes. The declared per-case timeout remains 20 seconds; current main's Windows tooling policy raises it to 120 seconds on Windows, and that policy is preserved.Rebase onto current main while retaining its adjacent
debt_reportregistration from the now-merged #15470. The complete diff remains the original 22-line change to rootCMakeLists.txt; the tool, assertions and directunittest.main()entry point are unchanged.The current #14212 head
4d105ce487cac38c209496c2f8cbe3ae340d39daaddsdebt_formatafterdebt_report. Static merge-tree inspection confirms its CMake block composes cleanly with this split and retains both registrations. The combined peer tree was not executed. There is no implementation prerequisite on that PR.Tested
November 8, 2026 (Europe/Prague): main base
4ab649f4d87b71f13489a2fa03373c8a710d497b, submitted head123426ee46aef9854104d901bd56ad1870c584b4.Windows 11 Pro 10.0.26300; AMD Ryzen 9 7900X (24 logical processors); 31.66 GiB RAM; WinLibs GCC 15.2.0 r7 x86_64 UCRT POSIX SEH, CMake 4.3.1, Ninja 1.13.2 and Python 3.14.7. The installed GPU is an RTX 4070 Ti SUPER; these tests use no GPU. Git fixtures ran with native host process permissions and the host TEMP, without changing antivirus settings.
unittest.TestLoaderand CTest JSON agree on all 33 methods, selected exactly once. Names, selectors and source regeneration dependencies are correct. Every generated case has the effective Windows timeout of 120 seconds under current main's policy.test_resolve_preserves_an_entry_moved_before_another_in_its_file).-j4split run: 33/33 passed, zero failures/skips, 9.48 seconds total. Longest case: 3.39764 seconds (test_resolve_preserves_entries_inserted_before_the_first_existing_entry). Verbose logs confirm one unittest per generated CTest in both runs.test_registration,test_script_registrationanddebt_report(16 unittests).python tools/check_conventions.py --base origin/main,python tools/check_main_sync.py --base origin/main --strictandgit diff --check origin/main...HEADpassed. The branch is one commit ahead and zero behind main, with a clean merge.The local runs confirm current case coverage and local timeout headroom. A fresh run on the affected slow Windows CI runner is still needed to confirm that specific timeout is resolved. The full relinker CTest suite, full product build, Linux/macOS reruns and title tests were not run for this registration-only change.
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)