From 32ae0d2bdd6ef0660a1b226ed53ff4786a4199b9 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 12 Aug 2011 09:18:51 +1000 Subject: [PATCH] test: skip tst_QPrinter::testNonExistentPrinter for qpa Since the test is irrelevant for Q_WS_X11 and Q_WS_QWS, it's almost certainly irrelevant for Q_WS_QPA too. Change-Id: Icc563046baf4c2a5217b87dee150afc7f6fd034d Reviewed-on: http://codereview.qt.nokia.com/2876 Reviewed-by: Qt Sanity Bot Reviewed-by: Kalle Lehtonen --- tests/auto/qprinter/tst_qprinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/qprinter/tst_qprinter.cpp b/tests/auto/qprinter/tst_qprinter.cpp index 57f79b26db..f67f8af3bd 100644 --- a/tests/auto/qprinter/tst_qprinter.cpp +++ b/tests/auto/qprinter/tst_qprinter.cpp @@ -423,8 +423,8 @@ void tst_QPrinter::testMargins() void tst_QPrinter::testNonExistentPrinter() { -#if defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_OS_MAC) - QSKIP("QPrinter::testNonExistentPrinter() is not relevant for X11/Embedded/Mac", SkipAll); +#if defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_WS_QPA) || defined(Q_OS_MAC) + QSKIP("QPrinter::testNonExistentPrinter() is not relevant for this platform", SkipAll); #else QPrinter printer; QPainter painter;