Greg Geldorp : ddraw/tests: Remove some outdated tests.

Alexandre Julliard julliard at winehq.org
Fri Jan 14 12:46:34 CST 2011


Module: wine
Branch: master
Commit: 1e7c80ba9afb8b442ff2148cd364c149f107cbb1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1e7c80ba9afb8b442ff2148cd364c149f107cbb1

Author: Greg Geldorp <ggeldorp at vmware.com>
Date:   Fri Jan 14 15:02:34 2011 +0100

ddraw/tests: Remove some outdated tests.

---

 dlls/ddraw/tests/d3d.c |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index a8535a3..1b312b5 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -766,16 +766,7 @@ static HRESULT WINAPI enumDevicesCallback(GUID *Guid,LPSTR DeviceDescription,LPS
     }
     else if(IsEqualGUID(&IID_IDirect3DHALDevice, Guid))
     {
-        /* pow2 is hardware dependent */
-
-        ok(hal->dpcLineCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE,
-           "HAL Device %d hal line caps does not have D3DPTEXTURECAPS_PERSPECTIVE set\n", ver);
-        ok(hal->dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE,
-           "HAL Device %d hal tri caps does not have D3DPTEXTURECAPS_PERSPECTIVE set\n", ver);
-        ok((hel->dpcLineCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE) == 0,
-           "HAL Device %d hel line caps has D3DPTEXTURECAPS_PERSPECTIVE set\n", ver);
-        ok((hel->dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE) == 0,
-           "HAL Device %d hel tri caps has D3DPTEXTURECAPS_PERSPECTIVE set\n", ver);
+        trace("HAL Device %d\n", ver);
     }
     else if(IsEqualGUID(&IID_IDirect3DRefDevice, Guid))
     {
@@ -3622,7 +3613,8 @@ static void FindDevice(void)
         /* Currently Wine only supports the creation of one Direct3D device
          * for a given DirectDraw instance. */
         todo_wine
-        ok(SUCCEEDED(hr), "Expected IDirectDrawSurface::QueryInterface to succeed, got 0x%08x\n", hr);
+        ok(SUCCEEDED(hr) || broken(hr == DDERR_INVALIDPIXELFORMAT) /* XP/Win2003 Wow64 on VMware */,
+           "Expected IDirectDrawSurface::QueryInterface to succeed, got 0x%08x\n", hr);
 
         if (SUCCEEDED(hr))
             IDirect3DDevice_Release(d3dhal);




More information about the wine-cvs mailing list