From bd1adf9e0b22f52e4de47d15b97412b353697ce8 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 28 Jun 2012 17:52:24 +0900 Subject: [PATCH] gdiplus: Comment out a test that crashes some gdiplus implementations. --- dlls/gdiplus/tests/image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 67d0a8b9acc..c373f134d76 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -1786,10 +1786,13 @@ static void test_getsetpixel(void) broken(stat == Ok), /* Older gdiplus */ "Expected InvalidParameter, got %.8x\n", stat); +if (0) /* crashes some gdiplus implementations */ +{ stat = GdipBitmapSetPixel(bitmap, 1, -1, 0); ok(stat == InvalidParameter || broken(stat == Ok), /* Older gdiplus */ "Expected InvalidParameter, got %.8x\n", stat); +} stat = GdipBitmapGetPixel(bitmap, 2, 1, &color); expect(InvalidParameter, stat); -- 2.11.4.GIT