diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c index d7e1f6abf60..68d14d20238 100644 --- a/dlls/mscms/tests/profile.c +++ b/dlls/mscms/tests/profile.c @@ -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 ); }