summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-08-05 10:32:05 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-05 13:19:58 +0200
commitdccdeb77c7adaeb581c3c3f48d1e00551336cb35 (patch)
tree183b740e9f44a5ea064e73610e691fb8fd9d977d /tests
parent24fd1ae14d9563954109d300e6a2257220440953 (diff)
test: fixed tst_qfont for qpa
Extend the QWS skip case to also cover QPA. Change-Id: I2bb93b179a384cf4304284d4d550c0bf4b61f4ca Reviewed-on: http://codereview.qt.nokia.com/2653 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfont/tst_qfont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qfont/tst_qfont.cpp b/tests/auto/qfont/tst_qfont.cpp
index 711ffc0b53..a564e71e19 100644
--- a/tests/auto/qfont/tst_qfont.cpp
+++ b/tests/auto/qfont/tst_qfont.cpp
@@ -604,8 +604,8 @@ void tst_QFont::serializeSpacing()
void tst_QFont::lastResortFont()
{
-#ifdef Q_WS_QWS
- QSKIP("QFont::lastResortFont() may abort with qFatal() on QWS", SkipAll);
+#if defined(Q_WS_QWS) || defined(Q_WS_QPA)
+ QSKIP("QFont::lastResortFont() may abort with qFatal() on QWS/QPA", SkipAll);
// ...if absolutely no font is found. Just as ducumented for QFont::lastResortFont().
// This happens on our CI machines which run QWS autotests.
#endif