From 31ef10813c4e5733acd66232691250627ce00423 Mon Sep 17 00:00:00 2001 From: Celegans12 <53881228+Celegans12@users.noreply.github.com> Date: Thu, 26 Nov 2026 12:22:18 +0100 Subject: [PATCH] test(kyty): put the unpatched libs on PATH for two replay tests on Windows 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. --- core/libs/prx/libSceAgcDriver/KytyShim/tests/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/libs/prx/libSceAgcDriver/KytyShim/tests/CMakeLists.txt b/core/libs/prx/libSceAgcDriver/KytyShim/tests/CMakeLists.txt index ac3268b3cc..273ef83a86 100644 --- a/core/libs/prx/libSceAgcDriver/KytyShim/tests/CMakeLists.txt +++ b/core/libs/prx/libSceAgcDriver/KytyShim/tests/CMakeLists.txt @@ -784,7 +784,7 @@ set_tests_properties(kyty_shim_cross_queue_recycled_label_own_tick PROPERTIES TI PASS_REGULAR_EXPRESSION "kyty_shim_cross_queue_recycled_label: order broken: ") if(WIN32) set_property(TEST kyty_shim_buffer_null_range kyty_shim_uniform_scalar_replay kyty_shim_empty_buffer_replay - kyty_shim_empty_buffer_replay_off + kyty_shim_empty_buffer_replay_off kyty_shim_bda_load_forms kyty_shim_generic_compute_replay kyty_shim_generic_compute_replay_wide kyty_shim_bda_submission_sync kyty_shim_cross_queue_compute_waits_graphics_data kyty_shim_cross_queue_graphics_waits_compute_data kyty_shim_cross_queue_dma_wait kyty_shim_cross_queue_compute_waits_graphics_clock @@ -804,6 +804,10 @@ add_dependencies(kyty_shim_wave_split_written_reads_tests agc_frame_replay) add_test(NAME kyty_shim_wave_split_written_reads COMMAND kyty_shim_wave_split_written_reads_tests $) set_tests_properties(kyty_shim_wave_split_written_reads PROPERTIES TIMEOUT 120 SKIP_RETURN_CODE 77 PASS_REGULAR_EXPRESSION "kyty_shim_wave_split_written_reads: ok") +if(WIN32) + set_property(TEST kyty_shim_wave_split_written_reads APPEND PROPERTY + ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$") +endif() add_test_executable(kyty_shim_wave_split_codegen_tests ${CMAKE_CURRENT_SOURCE_DIR}/WaveSplitCodegen.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../src/Log.cpp) target_include_directories(kyty_shim_wave_split_codegen_tests PRIVATE ${LIBS_INCLUDE_DIR})