[pkg-wine-party] [wine] 131/243: gdi32/tests: Skip some tests if Times New Roman is not installed.
Michael Gilbert
mgilbert at moszumanska.debian.org
Sat May 3 04:43:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit d0fa8cbc743559e31d36305dac8d46acc353f656
Author: Austin English <austinenglish at gmail.com>
Date: Thu Apr 10 21:45:59 2014 -0700
gdi32/tests: Skip some tests if Times New Roman is not installed.
---
dlls/gdi32/tests/font.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index a205ac7..fa3b420 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -2254,6 +2254,12 @@ static void test_SetTextJustification(void)
GetClientRect( hwnd, &clientArea );
hdc = GetDC( hwnd );
+ if (!is_font_installed("Times New Roman"))
+ {
+ skip("Times New Roman is not installed\n");
+ return;
+ }
+
memset(&lf, 0, sizeof lf);
lf.lfCharSet = ANSI_CHARSET;
lf.lfClipPrecision = CLIP_DEFAULT_PRECIS;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list