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>
This commit is contained in:
Rohan McGovern 2011-08-05 10:32:05 +10:00 committed by Qt by Nokia
parent 24fd1ae14d
commit dccdeb77c7

View File

@ -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