From dccdeb77c7adaeb581c3c3f48d1e00551336cb35 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 5 Aug 2011 10:32:05 +1000 Subject: [PATCH] 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 Reviewed-by: Sergio Ahumada --- tests/auto/qfont/tst_qfont.cpp | 4 ++-- 1 file 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