summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-08-12 09:18:51 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-12 03:02:17 +0200
commit32ae0d2bdd6ef0660a1b226ed53ff4786a4199b9 (patch)
tree65c3efac8819af2df0876b5d86c701037b79afae /tests
parentf2b3dfd1f17952627fce9fde1264207958f87f43 (diff)
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 <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qprinter/tst_qprinter.cpp4
1 files 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;