gdi32/tests: Skip a test as it crashes on Vista.

This commit is contained in:
Paul Vriens 2008-02-26 17:16:56 +01:00 committed by Alexandre Julliard
parent e9ccee0501
commit 7911424f9d
1 changed files with 7 additions and 3 deletions

View File

@ -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" );