user32/tests: BITMAPCOREINFO icons are no longer supported on Win 8.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-09-19 12:38:49 +01:00 committed by Alexandre Julliard
parent 5a6332231e
commit b981d18a55
1 changed files with 3 additions and 1 deletions

View File

@ -2622,7 +2622,9 @@ static void test_monochrome_icon(void)
CloseHandle(handle);
handle = LoadImageA(NULL, "icon.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE);
ok(handle != NULL, "LoadImage() failed with %u.\n", GetLastError());
ok(handle != NULL ||
broken(use_core_info && handle == NULL), /* Win 8, 10 */
"LoadImage() failed with %u.\n", GetLastError());
if (handle == NULL)
{
skip("Icon failed to load: %s, %s\n",