test(relinker): run guest_none_relocations as two halves #15526
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15526"
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 oneandonlydean on 2026-11-03T17:46:25Z.
What
guest_none_relocationstimes out intermittently on main'srelinker (macos-latest, clang++, x86_64)job (the x86_64 build runs emulated on an arm runner). It is not tied to a commit: over the 10 main runs of4a7770bf54to66387a10eeit took 16.3, 11.4, 20.04 (timeout), 19.99, 20.07 (timeout), 20.03 (timeout), 19.33, 19.99, 20.07 (timeout) and 15.4 s against its 20 s limit, while the native arm64 macOS job took 1.3 to 5.1 s. Locally the whole test takes 0.4 s, so the time on that job is process spawning: the test runs the relinker as a subprocess for every case, forsceFalse and then True.The test now takes
plain,sceorall(the default, so the tests that import its helpers and any direct run are unchanged) and CMake registersguest_none_relocations(plain) andguest_none_relocations_sce, each with the same 20 s limit and half the work. No case is removed or loosened.Tested
4f41f4c375relinker:plain,sceand no argument each print "Guest no-op relocation tests passed"; an unknown mode raisesKeyError.ctest(the edit is twoadd_testlines and oneset_tests_properties), the macOS jobs. Their timing after the split is the thing this PR needs CI to show.6e08dc3d6e,select_tests_SelectArgumentTests(30.12 s on the arm job). It builds a real cmake project insetUpClass, took 3.4 to 18 s in the other runs, and printed nothing at the timeout; we treat it as runner noise and did not touch it.Checklist
main4f41f4c375; no other open PR implements the same functions.mdfiles or images added to the repositoryguest_none_relocationson main)