test(cmake): serialize load-sensitive Windows tests

This commit is contained in:
MarcZX100 2026-10-12 07:29:31 +00:00
parent 1acfa7f788
commit cf25df9a62
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ if(BUILD_TESTING)
configure_windows_unwind(audio_out2_timing_tests)
add_test(NAME audio_out2_timing COMMAND audio_out2_timing_tests)
if(WIN32)
set_tests_properties(audio_out2_timing PROPERTIES ENVIRONMENT_MODIFICATION
set_tests_properties(audio_out2_timing PROPERTIES RUN_SERIAL TRUE ENVIRONMENT_MODIFICATION
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libSceAudioOut>")
endif()
endif()

View File

@ -395,7 +395,7 @@ if(BUILD_TESTING)
add_test(NAME guest_pthread_start COMMAND guest_pthread_start_tests)
set_tests_properties(guest_pthread_start PROPERTIES TIMEOUT 20)
if(WIN32)
set_tests_properties(guest_pthread_start PROPERTIES TIMEOUT 60 ENVIRONMENT_MODIFICATION
set_tests_properties(guest_pthread_start PROPERTIES TIMEOUT 60 RUN_SERIAL TRUE ENVIRONMENT_MODIFICATION
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libkernel>")
endif()
add_test_executable(guest_pthread_attr_errors_tests ${LIBS_INCLUDE_DIR}/tests/GuestPthreadAttrErrors.cpp)