Repository navigation
Tests: run four more GPU test programs under ctest, skipping without a Vulkan driver - #1050
Conversation
…a Vulkan driver d3d12_debug_markers_test, d3d12_fence_timing_test, d3d12_node_mask_test and dxgi_swapchain_test were built but had no add_test, so ctest (and the wine job's test list) never ran them; all four pass on an RTX 5070. Each now exits 77 when there is no Vulkan GPU or driver, as the other GPU tests do (dxgi_swapchain's SKIP branches exited 0, and with no driver at all it failed at vkCreateInstance), and is registered with SKIP_RETURN_CODE 77.
|
Tested 37e9e1e on Windows 11 with two GPUs on one machine (MSVC 14.51, full shader toolchain):
The four newly registered programs ( |
|
Tested
Note: under |
Four GPU test programs were built but never registered with ctest, so
ctest, and the test list the wine job runs, never ran them:d3d12_debug_markers_test,d3d12_fence_timing_test,d3d12_node_mask_testanddxgi_swapchain_test. All four pass onmain. Same idea as #883.vktest::Device::initialize(), exiting 77 when there is no Vulkan GPU.dxgi_swapchain_testbuilds its own instance. Its twoSKIP:branches exited 0, and with no driver at all it failed atvkCreateInstance. Both cases now exit 77.add_test+SKIP_RETURN_CODE 77, next to its target.d3d12_node_mask_test.cppis also changed by #992, but in a different hunk (main()'s device setup here, the queue comparison there).Tested (Windows 11, RTX 5070, driver 621.24, MSVC 14.44, Vulkan SDK 1.4.363.0,
LEONIDA_VK_VALIDATION=1, overlays off):VK_DRIVER_FILES/VK_ICD_FILENAMES→ a missing file)d3d12_debug_markersd3d12_fence_timingd3d12_node_maskdxgi_swapchainmain's test: fails atvkCreateInstance)No game files.
AI-assisted.
🤖 Generated with Claude Code