Repository navigation
test(kyty): put the unpatched libs on PATH for two replay tests on Windows - #323
Closed
Celegans12 wants to merge 1 commit into
Closed
Celegans12 wants to merge 1 commit into
Celegans12 wants to merge 1 commit into
Conversation
…ndows kyty_shim_bda_load_forms and kyty_shim_wave_split_written_reads start agc_frame_replay, which imports libc.prx, libkernel.prx and libSceAgcDriver.prx. Unlike the other replay tests, neither of them got the libSceAgcDriver output directory on PATH on Windows, so the child could not load its prx files. On a desktop session the loader then opened a modal "System Error" box and ctest killed the test at 120 s. Add kyty_shim_bda_load_forms to the existing WIN32 PATH list, and give kyty_shim_wave_split_written_reads, which is registered after that block, the same ENVIRONMENT_MODIFICATION as kyty_shim_wave64_cross_lane.
Owner
|
Merged into AnyKyty (your commit, cherry-picked onto the current head, same diff; all checks were green). Thanks @Celegans12, good catch on the two replay tests that never got the PATH prepend. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This fixes #322. On Windows,
kyty_shim_bda_load_formsandkyty_shim_wave_split_written_readswere the only replay tests that didn't get the libSceAgcDriver output directory (core/libs/libs/unpatched) on PATH, so theagc_frame_replaychild they start couldn't loadlibc.prx,libkernel.prxandlibSceAgcDriver.prx. On a desktop session that leaves the child stuck on the loader's "System Error" box until ctest kills it at 120 s. Without a desktop the child exits with 0xC0000135, and the tests fail, or skip whenANYPS5_REQUIRE_VULKANisn't set.kyty_shim_bda_load_formsnow sits in the existing WIN32ENVIRONMENT_MODIFICATIONlist next to the cross-queue tests.kyty_shim_wave_split_written_readsis registered after that block (and outside itsNOT ANYPS5_KYTY_DLLguard), so it gets its ownif(WIN32)with the same PATH prepend, the waykyty_shim_wave64_cross_laneandkyty_shim_depth_target_aliasdo it.Tested
Windows 11 Pro (10.0.26300), NVIDIA GeForce RTX 3080 Laptop GPU, driver 621.14, plain Release build with
-DBUILD_TESTING=ONonAnyKyty007a98c (WinLibs GCC 15.2.0, clang 21.1.8 for Kyty). The tests ran through ctest withANYPS5_REQUIRE_VULKAN=1, and the loader limited to the NVIDIA driver; the replay log names the RTX 3080.Before the change, both tests fail: ctest gives them only the MinGW
bindir on PATH and the replay child exits with 0xC0000135. From an interactive desktop it's the 120 s timeout from #322 instead. With the change,ctest -Vshows theunpatcheddir prepended, and both pass 3/3:kyty_shim_bda_load_formsin 0.47-0.59 s,kyty_shim_wave_split_written_readsin 0.98-1.00 s.check_conventionspasses.Not tested: Linux (the change is WIN32 only), the DLL build.
Checklist
AnyKyty(007a98c12a); 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)