mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 13:18:37 +00:00
Register d3d12_present_test with ctest
#908 brought the M0 present test (70 frames to a window, then a resize) but no add_test ran it, which test_ctest_registration catches. It is registered like its neighbours (exit 77 is a skip) and passes on an RTX 4060 Ti. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -933,6 +933,8 @@ if(TARGET Vulkan::Headers)
|
||||
target_link_libraries(d3d12_present_test PRIVATE gta6rt_d3d12_com user32 gdi32)
|
||||
target_compile_definitions(d3d12_present_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX)
|
||||
target_compile_options(d3d12_present_test PRIVATE /W4 /permissive- /utf-8)
|
||||
add_test(NAME d3d12_present COMMAND d3d12_present_test)
|
||||
set_tests_properties(d3d12_present PROPERTIES SKIP_RETURN_CODE 77)
|
||||
|
||||
# PresentX and the frame events on the Vulkan device (shims/xbox_present.h), checked on swapchain pixels.
|
||||
add_executable(xbox_present_test test/xbox_present_test.cpp)
|
||||
|
||||
Reference in New Issue
Block a user