Dan Kegel : d3d9/tests: Add missing skip().

Alexandre Julliard julliard at winehq.org
Mon May 19 09:39:36 CDT 2008


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

Author: Dan Kegel <dank at kegel.com>
Date:   Fri May 16 07:54:55 2008 -0700

d3d9/tests: Add missing skip().

---

 dlls/d3d9/tests/visual.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 978e4f3..2add48e 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -9117,7 +9117,7 @@ START_TEST(visual)
     hr = IDirect3DDevice9_Clear(device_ptr, 0, NULL, D3DCLEAR_TARGET, 0xffff0000, 0.0, 0);
     if(FAILED(hr))
     {
-        trace("Clear failed, can't assure correctness of the test results, skipping\n");
+        skip("Clear failed, can't assure correctness of the test results, skipping\n");
         goto cleanup;
     }
     IDirect3DDevice9_Present(device_ptr, NULL, NULL, NULL, NULL);
@@ -9125,14 +9125,14 @@ START_TEST(visual)
     color = getPixelColor(device_ptr, 1, 1);
     if(color !=0x00ff0000)
     {
-        trace("Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping\n", color);
+        skip("Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping\n", color);
         goto cleanup;
     }
 
     hr = IDirect3DDevice9_Clear(device_ptr, 0, NULL, D3DCLEAR_TARGET, 0xff00ddee, 0.0, 0);
     if(FAILED(hr))
     {
-        trace("Clear failed, can't assure correctness of the test results, skipping\n");
+        skip("Clear failed, can't assure correctness of the test results, skipping\n");
         goto cleanup;
     }
     IDirect3DDevice9_Present(device_ptr, NULL, NULL, NULL, NULL);
@@ -9140,7 +9140,7 @@ START_TEST(visual)
     color = getPixelColor(device_ptr, 639, 479);
     if(color != 0x0000ddee)
     {
-        trace("Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping\n", color);
+        skip("Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping\n", color);
         goto cleanup;
     }
 




More information about the wine-cvs mailing list