Paul Vriens : gdiplus/tests: Fix a test failure on Win98/WinMe.
Alexandre Julliard
julliard at winehq.org
Tue Mar 16 11:49:22 CDT 2010
Module: wine
Branch: master
Commit: 0513eb506efdc89e26ef18e6564275a5d82e3a8b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0513eb506efdc89e26ef18e6564275a5d82e3a8b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Mar 16 11:00:59 2010 +0100
gdiplus/tests: Fix a test failure on Win98/WinMe.
---
dlls/gdiplus/tests/graphics.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index b2dc9b2..9dffd52 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -2415,7 +2415,10 @@ static void test_GdipGetNearestColor(void)
expect(Ok, status);
status = GdipGetNearestColor(graphics, &color);
expect(Ok, status);
- todo_wine expect(0xffa8b8e8, color);
+ todo_wine
+ ok(color == 0xffa8b8e8 ||
+ broken(color == 0xffa0b8e0), /* Win98/WinMe */
+ "Expected ffa8b8e8, got %.8x\n", color);
GdipDeleteGraphics(graphics);
GdipDisposeImage((GpImage*)bitmap);
More information about the wine-cvs
mailing list