Author: akhaldi
Date: Thu Mar 3 14:08:46 2016
New Revision: 70888
URL:
http://svn.reactos.org/svn/reactos?rev=70888&view=rev
Log:
[MSCMS_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
Modified:
trunk/rostests/winetests/mscms/profile.c
Modified: trunk/rostests/winetests/mscms/profile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/mscms/profile.c…
==============================================================================
--- trunk/rostests/winetests/mscms/profile.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/mscms/profile.c [iso-8859-1] Thu Mar 3 14:08:46 2016
@@ -675,10 +675,8 @@
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 @@
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 @@
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 @@
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 );
}