diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-10-22 13:12:12 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-10-22 11:23:35 +0000 |
commit | e28129e02cadfcdf7a0ee9e5d04fdcabdbc4b10e (patch) | |
tree | 5e70fa305238ce33d7c18370ab16c1599277ad84 | |
parent | 2876332ad911b3c0402006ca9116af66cecdb8eb (diff) |
Skip tst_font::font() on macOS 10.12
It crashes, but I'm unable to debug it with a CI VM because it won't
build.
Task-number: QTBUG-70063
Change-Id: Ia9c32a145c40cc55ab56dcf3fd52468d7a925f40
Reviewed-by: Liang Qi <liang.qi@qt.io>
-rw-r--r-- | tests/auto/font/tst_font.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/font/tst_font.cpp b/tests/auto/font/tst_font.cpp index cd41be91..b9371c12 100644 --- a/tests/auto/font/tst_font.cpp +++ b/tests/auto/font/tst_font.cpp @@ -133,6 +133,11 @@ void tst_font::font() QFETCH(QString, testFile); QFETCH(QFont, expectedFont); + if (QSysInfo::productType().compare(QLatin1String("osx"), Qt::CaseInsensitive) == 0 + && qgetenv("QTEST_ENVIRONMENT").split(' ').contains("CI")) { + QSKIP("This test crashes on macOS: QTBUG-70063"); + } + QQmlEngine engine; QQmlComponent component(&engine); component.loadUrl(testFileUrl(testFile)); |