Commit 6ef5ae80 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

mscms/tests: Use todo_wine_if() in tests.

parent 5da69565
......@@ -675,10 +675,8 @@ static void test_EnumColorProfilesA( char *standardprofile )
ok( !ret, "EnumColorProfilesA() succeeded (%d)\n", GetLastError() );
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
if (have_color_profile)
todo_wine_if (!have_color_profile)
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
size = 0;
......@@ -689,10 +687,8 @@ static void test_EnumColorProfilesA( char *standardprofile )
size = total;
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
if (have_color_profile)
todo_wine_if (!have_color_profile)
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
else
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
HeapFree( GetProcessHeap(), 0, buffer );
}
......@@ -729,10 +725,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
ok( !ret, "EnumColorProfilesW() succeeded (%d)\n", GetLastError() );
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
if (have_color_profile)
todo_wine_if (!have_color_profile)
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 );
......@@ -742,10 +736,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
size = total;
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
if (have_color_profile)
todo_wine_if (!have_color_profile)
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