Module: wine Branch: master Commit: 3e3caf1efd1c96f0c044d51f30701f6848f43659 URL: https://gitlab.winehq.org/wine/wine/-/commit/3e3caf1efd1c96f0c044d51f30701f6...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Sep 13 16:34:01 2022 +0200
gdi32/tests: Mark some tests that fail without Vulkan as todo.
---
dlls/gdi32/tests/driver.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/gdi32/tests/driver.c b/dlls/gdi32/tests/driver.c index 79eedda1241..3a300b4dff5 100644 --- a/dlls/gdi32/tests/driver.c +++ b/dlls/gdi32/tests/driver.c @@ -937,6 +937,7 @@ static void test_D3DKMTQueryVideoMemoryInfo(void) query_memory_info.PhysicalAdapterIndex = 0; query_memory_info.MemorySegmentGroup = groups[i]; status = pD3DKMTQueryVideoMemoryInfo(&query_memory_info); + todo_wine_if (status == STATUS_INVALID_PARAMETER) /* fails on Wine without a Vulkan adapter */ ok(status == STATUS_SUCCESS, "Got unexpected return code %#lx.\n", status); ok(query_memory_info.Budget >= query_memory_info.AvailableForReservation, "Unexpected budget %I64u and reservation %I64u.\n", query_memory_info.Budget, @@ -952,6 +953,7 @@ static void test_D3DKMTQueryVideoMemoryInfo(void) /* Query using the current process handle */ query_memory_info.hProcess = GetCurrentProcess(); status = pD3DKMTQueryVideoMemoryInfo(&query_memory_info); + todo_wine_if (status == STATUS_INVALID_PARAMETER) /* fails on Wine without a Vulkan adapter */ ok(status == STATUS_SUCCESS, "Got unexpected return code %#lx.\n", status);
/* Query using a process handle without PROCESS_QUERY_INFORMATION privilege */