Alexandre Julliard : gdiplus/tests: Comment out a test that corrupts the stack on Vista.
Alexandre Julliard
julliard at winehq.org
Wed Jun 30 11:13:43 CDT 2010
Module: wine
Branch: master
Commit: 4b9258d165d0a7c745814d24bf404b477cee829e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b9258d165d0a7c745814d24bf404b477cee829e
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jun 30 14:17:13 2010 +0200
gdiplus/tests: Comment out a test that corrupts the stack on Vista.
---
dlls/gdiplus/tests/pen.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/pen.c b/dlls/gdiplus/tests/pen.c
index 0bdf280..b742118 100644
--- a/dlls/gdiplus/tests/pen.c
+++ b/dlls/gdiplus/tests/pen.c
@@ -225,9 +225,15 @@ static void test_dasharray(void)
/* Try to set with count = 0. */
GdipSetPenDashStyle(pen, DashStyleDot);
+ if (0) /* corrupts stack on 64-bit Vista */
+ {
status = GdipSetPenDashArray(pen, dashes, 0);
ok(status == OutOfMemory || status == InvalidParameter,
"Expected OutOfMemory or InvalidParameter, got %.8x\n", status);
+ }
+ status = GdipSetPenDashArray(pen, dashes, -1);
+ ok(status == OutOfMemory || status == InvalidParameter,
+ "Expected OutOfMemory or InvalidParameter, got %.8x\n", status);
GdipGetPenDashStyle(pen, &style);
expect(DashStyleDot, style);
More information about the wine-cvs
mailing list