Commit d1bcc32b authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdi32/tests: Don't test unimplemented functions.

parent 3089a9f2
......@@ -2363,7 +2363,13 @@ static void test_GetTextFace(void)
/* 'W' case. */
memcpy(fW.lfFaceName, faceW, sizeof faceW);
SetLastError(0xdeadbeef);
f = CreateFontIndirectW(&fW);
if (!f && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("CreateFontIndirectW is not implemented\n");
return;
}
ok(f != NULL, "CreateFontIndirectW failed\n");
dc = GetDC(NULL);
......
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