diff options
-rw-r--r-- | tests/auto/qfont/tst_qfont.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qfont/tst_qfont.cpp b/tests/auto/qfont/tst_qfont.cpp index 296ed68..e498ebc 100644 --- a/tests/auto/qfont/tst_qfont.cpp +++ b/tests/auto/qfont/tst_qfont.cpp @@ -596,6 +596,11 @@ void tst_QFont::serializeSpacing() void tst_QFont::lastResortFont() { +#ifdef Q_WS_QWS + QSKIP("QFont::lastResortFont() may abort with qFatal() on QWS", SkipAll); + // ...if absolutely no font is found. Just as ducumented for QFont::lastResortFont(). + // This happens on our CI machines which run QWS autotests. +#endif QFont font; QVERIFY(!font.lastResortFont().isEmpty()); } |