Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3fb3b872
Commit
3fb3b872
authored
Mar 12, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Reduce number of skipped test messages to one per test.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9c5f2853
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
font.c
dlls/dwrite/tests/font.c
+20
-8
No files found.
dlls/dwrite/tests/font.c
View file @
3fb3b872
...
...
@@ -2411,8 +2411,11 @@ static void test_GetMetrics(void)
get_combined_font_name
(
familyW
,
faceW
,
nameW
);
if
(
has_face_variations
(
fontface
))
{
skip
(
"%s: test does not support variable fonts.
\n
"
,
wine_dbgstr_w
(
nameW
));
if
(
has_face_variations
(
fontface
))
{
static
int
once
;
if
(
!
once
++
)
skip
(
"GetMetrics() test does not support variable fonts.
\n
"
);
IDWriteFontFace_Release
(
fontface
);
continue
;
}
...
...
@@ -2841,8 +2844,11 @@ if (0) /* crashes on native */
hr
=
IDWriteFont_CreateFontFace
(
font
,
&
fontface
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
has_face_variations
(
fontface
))
{
skip
(
"%s: test does not support variable fonts.
\n
"
,
wine_dbgstr_w
(
nameW
));
if
(
has_face_variations
(
fontface
))
{
static
int
once
;
if
(
!
once
++
)
skip
(
"ConvertFontFaceToLOGFONT() test does not support variable fonts.
\n
"
);
IDWriteFontFace_Release
(
fontface
);
IDWriteFont_Release
(
font
);
continue
;
...
...
@@ -3810,8 +3816,11 @@ if (strcmp(winetest_platform, "wine")) {
IDWriteLocalizedStrings_Release
(
names
);
if
(
IDWriteFontFace_IsSymbolFont
(
fontface
))
{
skip
(
"Skipping for symbol font %s %s.
\n
"
,
wine_dbgstr_w
(
familynameW
),
wine_dbgstr_w
(
facenameW
));
if
(
IDWriteFontFace_IsSymbolFont
(
fontface
))
{
static
int
once
;
if
(
!
once
++
)
skip
(
"GetUnicodeRanges() test does not support symbol fonts.
\n
"
);
IDWriteFontFace_Release
(
fontface
);
continue
;
}
...
...
@@ -4802,8 +4811,11 @@ if (0) { /* crashes on native */
has_variations
=
has_face_variations
(
fontface
);
IDWriteFontFace_Release
(
fontface
);
if
(
has_variations
)
{
skip
(
"%s: test does not support variable fonts.
\n
"
,
wine_dbgstr_w
(
nameW
));
if
(
has_variations
)
{
static
int
once
;
if
(
!
once
++
)
skip
(
"ConvertFontToLOGFONT() test does not support variable fonts.
\n
"
);
IDWriteFont_Release
(
font
);
continue
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment