Paul Vriens : gdi32/tests: Skip a test as it crashes on Vista.
Alexandre Julliard
julliard at winehq.org
Wed Feb 27 08:03:05 CST 2008
Module: wine
Branch: master
Commit: 7911424f9d146e1dc7726eb27316714a18c5dc4b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7911424f9d146e1dc7726eb27316714a18c5dc4b
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Tue Feb 26 17:16:56 2008 +0100
gdi32/tests: Skip a test as it crashes on Vista.
---
dlls/gdi32/tests/icm.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/gdi32/tests/icm.c b/dlls/gdi32/tests/icm.c
index 5cd4bcf..9d89828 100644
--- a/dlls/gdi32/tests/icm.c
+++ b/dlls/gdi32/tests/icm.c
@@ -91,9 +91,13 @@ static void test_GetICMProfileW( HDC dc )
ret = GetICMProfileW( dc, NULL, NULL );
ok( !ret, "GetICMProfileW succeeded\n" );
- size = MAX_PATH;
- ret = GetICMProfileW( dc, &size, NULL );
- ok( ret, "GetICMProfileW failed %d\n", GetLastError() );
+ if (0)
+ {
+ /* Vista crashes */
+ size = MAX_PATH;
+ ret = GetICMProfileW( dc, &size, NULL );
+ ok( ret, "GetICMProfileW failed %d\n", GetLastError() );
+ }
ret = GetICMProfileW( dc, NULL, filename );
ok( !ret, "GetICMProfileW succeeded\n" );
More information about the wine-cvs
mailing list