Commit 5ddcb2c1 authored by Alexandre Julliard's avatar Alexandre Julliard

mscms/tests: The tests shouldn't fail if we have some ICM files.

parent 00609d5e
......@@ -803,8 +803,10 @@ static void test_EnumColorProfilesA(void)
ok( !ret, "EnumColorProfilesA() succeeded (%d)\n", GetLastError() );
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
todo_wine
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
if (standardprofile)
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
size = 0;
......@@ -815,8 +817,10 @@ static void test_EnumColorProfilesA(void)
size = total;
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
todo_wine
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
if (standardprofile)
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
HeapFree( GetProcessHeap(), 0, buffer );
}
......@@ -853,8 +857,10 @@ static void test_EnumColorProfilesW(void)
ok( !ret, "EnumColorProfilesW() succeeded (%d)\n", GetLastError() );
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
todo_wine
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
if (standardprofileW)
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
size = 0;
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
......@@ -864,8 +870,10 @@ static void test_EnumColorProfilesW(void)
size = total;
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
todo_wine
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
if (standardprofileW)
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
HeapFree( GetProcessHeap(), 0, buffer );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment