Paul Vriens : ddraw/tests: Use skip() instead of trace().
Alexandre Julliard
julliard at winehq.org
Thu Feb 19 09:18:43 CST 2009
Module: wine
Branch: master
Commit: 4542ab35b432552a84bf45908b3299bef7e146be
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4542ab35b432552a84bf45908b3299bef7e146be
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Feb 19 11:53:54 2009 +0100
ddraw/tests: Use skip() instead of trace().
---
dlls/ddraw/tests/visual.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c
index 87193ea..7c5e651 100644
--- a/dlls/ddraw/tests/visual.c
+++ b/dlls/ddraw/tests/visual.c
@@ -2638,28 +2638,28 @@ START_TEST(visual)
hr = IDirect3DDevice7_Clear(Direct3DDevice, 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;
}
color = getPixelColor(Direct3DDevice, 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 = IDirect3DDevice7_Clear(Direct3DDevice, 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;
}
color = getPixelColor(Direct3DDevice, 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