Register d3d12_predicated_copy_test with ctest

#1277 builds d3d12_predicated_copy_test but no add_test ran it, which #1258's test_ctest_registration now catches.
It is registered like its neighbours (exit 77 is a skip); it passes on an RTX 4060 Ti.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ItsNotRexed
2026-11-22 04:50:53 -05:00
parent fcf04ab273
commit c0ac5fd651

View File

@ -831,6 +831,8 @@ if(TARGET Vulkan::Headers)
target_link_libraries(d3d12_predicated_copy_test PRIVATE gta6rt_d3d12_com d3d12 dxgi)
target_compile_definitions(d3d12_predicated_copy_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX)
target_compile_options(d3d12_predicated_copy_test PRIVATE /W4 /permissive- /utf-8)
add_test(NAME d3d12_predicated_copy COMMAND d3d12_predicated_copy_test)
set_tests_properties(d3d12_predicated_copy PROPERTIES SKIP_RETURN_CODE 77)
# Differential regression: run explicitly (requires Vulkan hardware and Windows WARP).
add_executable(d3d12_clear_test test/d3d12_clear_test.cpp)