[PATCH 0/1] MR9342: dxcore/tests: Do not test for 0 deviceID.
Apparently it does not have to be set on e.g. llvmpipe. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9342
From: Nikolay Sivov <nsivov(a)codeweavers.com> Apparently it does not have to be set on e.g. llvmpipe. --- dlls/dxcore/tests/dxcore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/dxcore/tests/dxcore.c b/dlls/dxcore/tests/dxcore.c index 01ff93aaef3..ba22d262a12 100644 --- a/dlls/dxcore/tests/dxcore.c +++ b/dlls/dxcore/tests/dxcore.c @@ -219,13 +219,11 @@ static void test_GetProperty(void) hr = IDXCoreAdapter_GetProperty(adapter, HardwareID, sizeof(hwid[0]), hwid); ok(hr == S_OK, "Got hr %#lx.\n", hr); ok(!!hwid[0].vendorID, "Expected vendorID.\n"); - ok(!!hwid[0].deviceID, "Expected deviceID.\n"); memset(hwid, 0, sizeof(hwid)); hr = IDXCoreAdapter_GetProperty(adapter, HardwareID, sizeof(hwid[0]) + 1, hwid); ok(hr == S_OK, "Got hr %#lx.\n", hr); ok(!!hwid[0].vendorID, "Expected vendorID.\n"); - ok(!!hwid[0].deviceID, "Expected deviceID.\n"); ok(!hwid[1].vendorID, "Expected no vendorID.\n"); ok(!hwid[1].deviceID, "Expected no deviceID.\n"); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9342
This merge request was approved by Elizabeth Figura. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9342
participants (3)
-
Elizabeth Figura (@zfigura) -
Nikolay Sivov -
Nikolay Sivov (@nsivov)