fix(tests): configure Windows unwind for write-watch coverage

This commit is contained in:
ToyuAU
2026-10-08 17:59:26 +11:00
committed by Adrià Franch
parent 838d02a88c
commit 0df794548e
@@ -205,7 +205,13 @@ configure_windows_unwind(libSceAgcDriver)
if(BUILD_TESTING)
add_test_executable(agc_write_watch_coverage_tests tests/WriteWatchCoverage.cpp)
target_include_directories(agc_write_watch_coverage_tests PRIVATE ${LIBS_INCLUDE_DIR})
target_link_libraries(agc_write_watch_coverage_tests PRIVATE libc)
configure_windows_unwind(agc_write_watch_coverage_tests)
add_test(NAME agc_write_watch_coverage COMMAND agc_write_watch_coverage_tests)
if(WIN32)
set_tests_properties(agc_write_watch_coverage PROPERTIES ENVIRONMENT_MODIFICATION
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
endif()
add_test_executable(agc_profile_output_tests tests/ProfileOutput.cpp)
target_include_directories(agc_profile_output_tests PRIVATE ${LIBS_INCLUDE_DIR})