summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-09-29 08:12:34 +0200
committerAlessandro Portale <alessandro.portale@nokia.com>2010-09-29 08:12:34 +0200
commit6d980ae8985e3856ab87c4d0aaada3bcdc5fa1e5 (patch)
tree15b0971d121e54427747630c54eb3f660455a90a /tests
parent8bb62d3194a4de863b941c1f3716c66296d3eb5a (diff)
Skip tst_QFont::lastResortFont() for Q_WS_QWS
QFont::lastResortFont() may abort with qFatal() on QWS if absolutely no font is found. Just as ducumented. This happens on our CI machines which run QWS autotests.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfont/tst_qfont.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qfont/tst_qfont.cpp b/tests/auto/qfont/tst_qfont.cpp
index 296ed689bc..e498ebce25 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());
}